Three light bulbs solution

created by jliszka
(idea) by jliszka (2.3 y) (print)   ?   Fri Mar 09 2001 at 4:43:01
This is the solution to problem 14 on the hard interview questions node. If you have not read the question, the following will make no sense to you:

Turn light switch 1 to the ON position for a few minutes, then turn it off. Then turn on switch 2, and go upstairs. The light bulb that is off and hot is attached to switch 1. The one that is on is attached to switch 2, and the one that is off and cold is attached to switch 3.

Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.