Two ropes and a 45-minute timer
product-puzzle case · difficulty 2/5 · 15 minutes · other
Prompt
You have two ropes. Each takes exactly 60 minutes to burn, but they burn unevenly, so half the rope's length does not take 30 minutes. You also have a lighter. How can you measure exactly 45 minutes?
Context
A classic interview puzzle. Core idea: Light rope A at both ends (30m). When A finishes, light the other end of rope B. Talk through your reasoning; the interviewer cares as much about structure as about the answer.
Clarifying questions
- Can you light both ends?
- Yes. You can light either end of either rope at any moment, including lighting a rope at both ends at once.
Recommendation
**Answer:** Light rope A at both ends and rope B at one end at time 0. When A burns out (30 minutes), light the other end of B. When B burns out, 45 minutes have passed. **Why:** Burning from both ends halves the burning time regardless of how uneven the rope is, which turns a 60-minute rope into a 30-minute timer, and the remaining length of the other rope gives the last 15 minutes.
Risks
- Assuming that half of the rope's length burns in 30 minutes
- Lighting both ends of B at the start, which only gives another 30-minute timer
Next steps
- Measure 15 minutes using the same ropes
- Explain why the method still works if the ropes burn very unevenly