Topic · Interview, Career & Industry
← All topicsOptimization Puzzles
16 articles · 3 checkpoints · 9 deeper reads · 4 reference notes
Every article, in reading order
plant a flag as you finish eachRead these first
Binary search is the purest example of a whole family of interview puzzles: any question you can answer with a single yes/no query should be attacked by cutting the space of possibilities in half, not by guessing.
With two eggs and a 100-floor building, find the highest safe floor using as few drops as possible, the puzzle that teaches you to balance the cost of a bad early guess against the cost of testing too cautiously.
Making the locally best choice at every step works for some problems and quietly produces the wrong answer for others, the puzzle is learning to tell which is which before you commit to an approach out loud.
Then the rest