You stand outside of a room that contains a light bulb. Next to you are four switches, one of which powers the light bulb. What is the least number of times you need to enter the room to figure out which switch powers the light bulb?
You stand outside of a room that contains a light bulb. Next to you are four switches, one of which powers the light bulb. What is the least number of times you need to enter the room to figure out which switch powers the light bulb?
Create a free account to answer questions and track your progress — across 2,000+ interview questions.
Get started for free