Max Balls Drop Dilemma
Minimum Drops to Find Breaking Floor is a medium quant interview question on Brain Teasers.
This brain teaser presents a search problem with a fragile resource and a bounded range, framed as repeated tests on a tall building using a small number of identical objects. The candidate must design a testing strategy that guarantees finding an unknown breaking point in the worst case, while being acutely constrained by the risk of exhausting their limited test objects too early. It is a classic style of puzzle that appears in general quantitative interviews and tech company screenings, probing structured thinking under constraints rather than domain-specific finance knowledge.
The question leans on ideas from discrete optimization, worst-case analysis, and carefully balanced search strategies. Good candidates recognize that naive methods either waste tests or risk catastrophic early failure, and instead look for a systematic way to trade off larger early jumps against finer local search later. Interviewers watch for the ability to formalize the problem, express bounds on the remaining search space after each outcome, and derive or justify an efficient sequence of steps. Clear reasoning, explicit worst-case justification, and sensitivity to how each decision affects future options are more important than algebraic slickness.
What it tests
This problem class is governed by the principle of minimizing the worst-case cost under resource constraints, specifically through optimal partitioning and sequential elimination. When you have limited 'lives' (like two balls) to test a range (like floors), the optimal approach is to balance the risk between early failure and exhaustive search. The key is to structure your tests so that, at every stage, the maximum number of remaining trials (after a failure) plus the number of trials already used never exceeds a fixed bound. This leads to a strategy where each test incrementally reduces the search space in a way that the sum of possible remaining steps always covers the total range. The mathematical structure underlying this is the triangular number sequence, which arises because each subsequent test can afford to be one step closer, ensuring coverage with minimal overlap and redundancy.
Practise this question with written feedback, or hear it in a spoken mock interview.
Get started free