The Wayback Machine - https://web.archive.org/web/20210413051945/https://www.geeksforgeeks.org/puzzle-1-how-to-measure-45-minutes-using-two-identical-wires/
Skip to content
Related Articles

Related Articles

Puzzle 1 | (How to Measure 45 minutes using two identical wires?)
  • Difficulty Level : Easy
  • Last Updated : 30 Jan, 2021

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 wire might burn in 10 minutes and 50 minutes respectively

 
 
 

Answer:
If we light a stick, it takes 60 minutes to burn completely. What if we light the stick from both sides? It will take exactly half the original time, i.e. 30 minutes to burn completely.

  1. 0 minutes – Light stick 1 on both sides and stick 2 on one side.
  2. 30 minutes – Stick 1 will be burnt out. Light the other end of stick 2.
  3. 45 minutes – Stick 2 will be burnt out. Thus 45 minutes is completely measured.

Source: https://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

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :