Interview Preparation Exam  >  Interview Preparation Notes  >  Puzzles for Interview  >  Top Puzzle 17: The Two-Bulb Switching Problem

Top Puzzle 17: The Two-Bulb Switching Problem | Puzzles for Interview - Interview Preparation PDF Download

Problem Statement

There are two light bulbs in a room that can only be controlled by two switches outside the room. You are only allowed to enter the room once to determine which switch controls which bulb. How can you do it?

Solution

To solve this problem, you need to follow these steps:
1. Turn on the first switch and leave it on for a few minutes.
2. Turn off the first switch and turn on the second switch.
3. Enter the room and touch one of the bulbs. If it is hot, that means it was turned on by the first switch. If it is not hot, that means it was turned on by the second switch.
4. Touch the other bulb. If it is still hot, that means it was turned on by the first switch. If it is not hot, that means it was turned off by the second switch.

Conclusion

The Two-Bulb Switching Problem can be solved by following the above steps. This problem shows how critical thinking can help to find a solution to a seemingly difficult problem. It is essential to approach problems with an open mind and think creatively to find the best solution.

The document Top Puzzle 17: The Two-Bulb Switching Problem | Puzzles for Interview - Interview Preparation is a part of the Interview Preparation Course Puzzles for Interview.
All you need of Interview Preparation at this link: Interview Preparation
109 docs
Related Searches

mock tests for examination

,

Exam

,

Semester Notes

,

video lectures

,

ppt

,

Previous Year Questions with Solutions

,

Top Puzzle 17: The Two-Bulb Switching Problem | Puzzles for Interview - Interview Preparation

,

Important questions

,

study material

,

Viva Questions

,

Summary

,

past year papers

,

Top Puzzle 17: The Two-Bulb Switching Problem | Puzzles for Interview - Interview Preparation

,

Sample Paper

,

pdf

,

Top Puzzle 17: The Two-Bulb Switching Problem | Puzzles for Interview - Interview Preparation

,

shortcuts and tricks

,

MCQs

,

Extra Questions

,

practice quizzes

,

Objective type Questions

,

Free

;