If there are three light switches downstairs and three lamps upstairs and they each go to one bedroom how would you figure out which lamp go to each light switch if you can only go upstairs once?

You would turn one light switch on leave one off and turn on one for a minute then turn it off so when you go upstairs you see one on you feel one cold and feel one warm.

Viral riddles