posted by Tony .
You are standing outside a closed door. On the other side of the door is a room that has three light bulbs in it. The room is completely sealed off from the outside. It has no windows and nothing can get in or out except through the door. On the outside of the room there are three light switches that control each of the respective light bulbs on the other side of the door.
Your assignment is to determine which light switch controls which light bulb. You are allowed to enter the room only once, and once you come out, you must be able to state with 100% certainty which light switch controls which light bulb.
Turn one light switch on, wait a few minutes, then turn it off and turn another light switch on. Go into the room and feel the light bulbs. The one that's still warm is connected to the switch that you first turned on, the one that is on was the second switch you turned on, and the last bulb is controlled by the switch that you didn't touch.