A mad bomber is out on the job, making bombs. he has two fuses (pieces of string) of varying thickness which each burn for 30 seconds. unfortunately he wants this bomb to go off in 45 seconds. he can’t cut the one fuse in half because the fuses are different thicknesses and he can’t be sure how long it will burn. how can he arrange the fuses to make his bomb go off at the right time?
Solution
light both ends of one of the fuses. when that fuse goes out, 15 seconds has elapsed. then light the other fuse.
💡Strategies for Solving This Problem
Timing Without a Clock
Classic brain teaser that appears in various forms. Common at Microsoft, Amazon. I got a variant at Microsoft in 2023.
The Problem
You have two fuses that each burn for exactly 1 hour, but burn at irregular rates (fast at some parts, slow at others). How can you measure exactly 45 minutes?
Key Insight
Lighting both ends of a fuse makes it burn in half the time! If a fuse burns in 1 hour from one end, lighting both ends means they meet in 30 minutes.
Solution for 45 Minutes
- Light fuse A from both ends, fuse B from one end
- When fuse A burns out (30 minutes), light the other end of fuse B
- Fuse B now has 30 minutes of burn left, but burns from both ends
- It burns out in 15 more minutes
- Total: 30 + 15 = 45 minutes
Why It Works
Fuse burning from both ends always takes exactly half the time, regardless of irregular burn rate. The two flames meet in the middle.
Common Variations
15 minutes: Light both fuses from both ends (30 min), then light remaining fuse from other end when first burns out.
90 minutes: Use one fuse completely (60 min) plus half of second fuse (30 min).
With 3 fuses: Can measure 7.5, 15, 22.5, 30, 45, 52.5, 60, 75, 90 minutes.
At Microsoft
My version was measuring 7.5 minutes with fuses. Same principle: use the "both ends" trick creatively.