Brainteasers · Strategy and invariants · Easy
Two uneven ropes
Rope A takes exactly 36 minutes to burn from one end to the other, and rope B takes exactly 60 minutes. Both burn unevenly, faster along some stretches than others, but any stretch takes the same time to burn in either direction, and a rope lit at both ends burns from both until the flames meet. At time zero you light both ends of rope A and one end of rope B. At the moment rope A burns out, you light the other end of rope B. How many minutes after time zero does rope B burn out?
Answer and solution
Answer
39
Solution
A rope holds a fixed number of minutes of burning, and two flames use them up at twice the rate, however uneven the rope.
Rope A, lit at both ends, burns out after 36/2 = 18 minutes. By then rope B has burned for 18 minutes from one end and has 42 minutes of burning left. With both ends alight that takes 21 minutes. Rope B burns out at 18 + 21 = 39 minutes.
Strategy and invariants comes up in 3 firms' roundsMillennium · Point72 / Cubist · IMC
These 3 rounds ask this kind of problem live, with follow-ups. Every round on every track is in Premium.