Qm
BrainteasersJane StreetOptiver

A fifteen-minute interval from two ropes

You have two ropes and some matches. Each rope burns from one end to the other in exactly 60 minutes, but both burn unevenly and they are not identical. You cannot cut or mark them.

Use the ropes to mark out an interval of exactly 15 minutes. The interval does not have to start the moment you strike the first match; it just has to be exactly fifteen minutes long, with a clear start and a clear end.

Show a hint

Lighting both ends of a rope halves whatever burn time it has left. Use one rope as a 30-minute timer to decide when to light the second end of the other.

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

Fifty-two and a half minutes from three ropesFifteen minutes with a single ropeThirty minutes from one uneven ropeThe bridge with the sleepy guardSeven minutes with a 3 and a 5 minute glass
All questions →