Log in! (forgot password)
Burning Rope
There are two lengths of rope.
Each one can burn in exactly one hour.
They are not necessarily of the same length or width as each other.
They also are not of uniform width (may be wider in middle than on the end), thus burning half of the rope is not necessarily 1/2 hour.
By burning the ropes, how do you measure exactly 45 minutes worth of time?
Discussion
One interesting point I’d like to bring up is that it would be impossible to produce ropes that burn for a certain period of time unless they burn uniformly.
The problem merely states that the ropes “can” burn for exactly one hour, not that it must. This version of the problem is unsolvable. . .
@charlie the unic
I also arrived at your solution. The official answer above looks wrong because it relies on half a rope taking 1/2 hour to burn. The problem statement doesn’t say the ropes are symmetrical about their midpoint.
Oh right, okay, there’s an answer section up there. Here I am thinking I’m all high and mighty providing an answer when I’m supposed to be commenting on the problem and how my answer differs from that provided. How stupid do I feel now. Whoops.
I just got asked this in a programming interview!
took me way longer than expected.
@nitr0smash
This solution assumes that the rope burns uniformly – that once you fold it in half and light it each half will burn at the same rate. If ‘half 1’ of Rope B takes 50 minutes to burn and ‘half 2’ takes 10 minutes (for example), then even when folded they won’t burn evenly.
Why the hell would anyone burn a length of rope – for half an hour?
Well Alchemyiam, you failed to account for the ropes having non-uniform widths, therefore; cutting the ropes would not necessarily yield accurate measures of time.
My dad’s favourite brain teaser during family get-togethers =)
Difficulty
Currently: Moderate (5.78)
