Re:Coding Problems from Programming Job Interviews
by mlthoughts2018 on Friday January 25, 2019 @01:37PM
(#19000914)
This just converts the problem from useless bullshit of the Cracking the Coding Interview variety into useless bullshit of the “how many ping pong balls can fit in a 747” hedge fund variety.
Here's what questions I'd love to hear be asked of me if I'd ask the candidate "create a bubble sort algorithm".
1. How many bubbles are there? (collection size and knowledge of collection data structures)
2. What sizes, and how many or percent of each size? (constants, basic math, possibly low-level statistics knowledge)
3. Do new bubbles appear/disappear, and if so do I know what size they appear as, and do bubbles change size? (new inputs to an existing set of data)
4. Since I'm sorting, would you prefer a particular end result? (2d or 3d structure or something similar things)