Interview Puzzle :Burning Rope Problem

Question :

 

burning rope

 

They have property such that when you light the fire from one end , it will take exactly 60 seconds to get completely burn.
However they do not burn at consistent speed (i.e it might be possible that 40 percent burn in 55 seconds and next 60 percent can burn in 10 seconds).

How do you measure 45 seconds ?

Answer : see below

Light both ends of rope A and one end of rope B. After 30 minutes, rope A will be completely burned up and there will be 30 minutes of rope B left. Light the other end of rope B; it will burn up in 15 minutes. Total time elapsed since starting the ropes on fire: 45 minutes.

Leave a Reply