A young peasant wanted to marry the king's daughter. The king didn't like the idea of his daughter marrying a peasant, but he wanted to appear fair in front of his subjects. The king said that he would put two pieces of paper into a hat, one reading "exile" and the other reading "marriage". Later that day, the peasant overheard the king saying that both pieces of paper would read "exile", thus ensuring that the peasant would be out of his way for good. The peasant remained undaunted and, as arranged, arrived at the king's court where a large crown gathered for the big event. The peasant then did something that assured him the hand of the king's daughter. What did he do?
The peasant picked one of the pieces of paper and tore it up. He then asked the kind to show him the other piece of paper which, of course, said EXILE. The king, not wishing to appear fraudulent in front of his subjects, granted that the piece of paper the peasant had picked must have said MARRIAGE.
There are 3 switches outside of a room, all in the 'off' setting. One of them controls a lightbulb inside the room, the other two do nothing.
You cannot see into the room, and once you open the door to the room, you cannot flip any of the switches any more.
Before going into the room, how would you flip the switches in order to be able to tell which switch controls the light bulb?
Flip the first switch and keep it flipped for five minutes. Then unflip it, and flip the second switch. Go into the room. If the lightbulb is off but warm, the first switch controls it. If the light is on, the second switch controls it. If the light is off and cool, the third switch controls it.
A man has two ropes of varying thickness (Those two ropes are not identical, they aren’t the same density nor the same length nor the same width). Each rope burns in 60 minutes. He actually wants to measure 45 mins. How can he measure 45 mins using only these two ropes.
He can’t cut the one rope in half because the ropes are non-homogeneous and he can’t be sure how long it will burn.
He will burn one of the rope at both the ends and the second rope at one end. After half an hour, the first one burns completely and at this point of time, he will burn the other end of the second rope so now it will take 15 mins more to completely burn. so total time is 30+15 i.e. 45mins.