DEV Community

Er. Bhupendra
Er. Bhupendra

Posted on

PUZZLE AKSED IN INTERVIEW

Q. How can you measure 1.5 hours using two candles, each of which burns completely in 1 hour, without cutting either candle in half?
Ans.
Light the first candle at one end and let it burn completely — that measures 1 hour because each candle burns in exactly 1 hour. As soon as the first candle has gone out, light the second candle at both ends; it will burn out in 30 minutes.

So 1 hour (first candle) + 30 minutes (second candle burning from both ends) = 1.5

Top comments (0)