Problem Statement:
You are standing in a hallway next to three light switches, all of which are off. Each switch operates a different incandescet light-bulb in the room at the end of the hall. You cannot see the lights from where the switches are. Determine which light corresponds to each switch. You may go into the room with the lights only once.
Solution:
1) Turn on any one switches. Let them be 1st switch.
2) After some time turn off the 1st switch and turn on 2nd switch.
Now go to the room
- If the bulb glowing then right switch whhich is current on.
- If the bulb not currently glowing but itt is hot(because it was on for some time before turning it off), then the right switch is first one.
- Else right switch is third one.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks