WISH YOU A HAPPY NEW YEAR - 2015 Blogger WidgetsHi Friends.....This Is Naresh Pirati >>>>> WELCOME TO MY NEW BLOG WORLD>>>>>>>You Can DOWNLOAD Interview Questions ,Puzzles and Text Books from This BLOG>>>>>>>>>>> Thank You For Visiting My BLOG I Hope you Will VIstit Again For New Updates

Friday 27 June 2014

GOOGLE INTERVIEW PUZZLE




GOOGLE INTERVIEW PUZZLE


You have a set of 3 light switches outside a closed door. One of them controls the light inside the room. With the door closed from outside the room, you can turn the light switches on or off as many times as you would like.

You can go into the room - one time only - to see the light. You cannot see the whether the light is on or off from outside the room, nor can you change the light switches while inside the room.

No one else is in the room to help you. The room has no windows.

Based on the information above, how would you determine which of the three light switches controls the light inside the room?





ANS:     first switch on 1st one and wait 5 min and off . and now switch on 2nd one and goto room and see
there is one bulb which is glowing that is 2nd switch bulb  and now touch all bulbs with your hand  one bulb heated  that belongs to 1st switch and remaining bulb belongs to third switch.

No comments: