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

Top Courses for Interview Preparation

Explore Courses for Interview Preparation exam

Top Courses for Interview Preparation

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

shortcuts and tricks

,

ppt

,

Objective type Questions

,

Summary

,

Semester Notes

,

Important questions

,

Extra Questions

,

MCQs

,

video lectures

,

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

,

Exam

,

Sample Paper

,

Free

,

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

,

study material

,

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

,

Viva Questions

,

past year papers

,

pdf

,

Previous Year Questions with Solutions

,

practice quizzes

,

mock tests for examination

;