Measuring 30 Seconds with a Fuse
Measuring 30 Seconds Using a Fuse is an easy quant interview question on Brain Teasers.
This brain teaser asks you to reason about timing when the only thing you know is a fixed total duration and a highly irregular rate along the way. The setup involves a single object that takes a known time to complete a process, but progresses unpredictably at different points. With no clock or markings, you must figure out how to exploit what is known about the total time to carve out an exact fraction of it. This is a very common style of mental puzzle used in interviews to see how candidates think under minimal, abstract constraints.
Solving it leans on symmetry, invariants, and the idea of turning a single process into multiple simultaneous processes that interact. It tests whether you can ignore irrelevant details (the local variability) and focus on the one thing that is guaranteed (the total duration). Interviewers watch for comfort with re-framing the setup, creativity in using the available operations in non-obvious ways, and the ability to give a clear, stepwise procedure that would work in practice, not just a vague intuition.
What it tests
When a process has a fixed total duration but proceeds at a variable rate along its path, symmetry can be imposed by initiating the process from both ends simultaneously. This ensures that, regardless of local variations in rate, the entire process completes in half the original time because the two fronts will always meet somewhere along the path after traversing the full length together. The key is that the sum of the distances covered by both fronts at any moment equals the total length, so the total time is divided by the number of simultaneous fronts. This principle holds because, even if one front slows down, the other compensates by advancing faster, and their combined progress remains constant. This is a general solution for measuring half (or other fractions) of a fixed-duration process with variable local rates, provided you can start from multiple points.
Practise this question with written feedback, or hear it in a spoken mock interview.
Get started free