Puzzle 1 | (How to Measure 45 minutes using two identical wires?)

2.4

How do we measure forty-five minutes using two identical wires, each of which takes an hour to burn. We have matchsticks with us. The wires burn non-uniformly. So, for example, the two halves of a wire might burn in 10 minute and 50 minutes respectively

burning-rope

 
 
 

Answer:
Light up three of the four ends of the two wires. Once one wire is completely burnt, light up the fourth end. At 45 minutes, both wires are burnt completely.

Source: http://www.geeksforgeeks.org/forums/topic/measuring-45-minutes-using-two-identical-wires/

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above

GATE CS Corner    Company Wise Coding Practice

Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.

Recommended Posts:



2.4 Average Difficulty : 2.4/5.0
Based on 62 vote(s)










Writing code in comment? Please use ide.geeksforgeeks.org, generate link and share the link here.