Interview Question

Senior Software Engineer Interview Gilbert, AZ

You have been given two pieces of flammable rope. The speed

  at which each individual rope can burn is inconsistent, but if you light the end with a match, the short rope will take 30 minutes to burn and the long rope takes an hour. How can you used the ropes to determine when 45 minutes have passed?
Answer

Interview Answer

2 Answers

1

Light both ends of one rope. When it is finished burning, light both ends of the other rope. When it is finished burning, 45 minutes will have elapsed.

Interview Candidate on Sep 8, 2011
0

I guess that would depend on how many matches you have. If you had only one match that would change the answer. Some questions are only asked to elicit a response.
Based on my interview experience with GD they sometimes don't care if you get the answer right. They want to see how you react to the question.

JP on Sep 17, 2011

Add Answers or Comments

To comment on this Question, Sign In with Facebook or Sign Up