If you had an infinite supply of water and 5-quart and 3-quart pails, how would you measure exactly 4 quarts? What is the least number of steps you need?
There are three light switches outside a room. One of the switches is connected to a light bulb inside the room.
Each of the three switches can be either 'ON' or 'OFF'.
You are allowed to set each switch the way you want it and then enter the room(note: you can enter the room only once)
Your task is to then determine which switch controls the bulb?
A spaceship was lost. The detective was given a piece of paper. This was the location of the spaceship! This is what the slip had scribbled on it:
Juice, Umbrella, Potato, Ice, Tomato, Elephant, Rice.
You are an expert on paranormal activity and have been hired to locate a spirit haunting an old resort hotel. Strong signs indicate that the spirit lies behind one of four doors. The inscriptions on each door read as follows:
Door A: It's behind B or C
Door B: Its behind A or D
Door C: It's in here
Door D: It's not in here
Your psychic powers have told you three of the inscriptions are false, and one is true. Behind which door will you find the spirit?
100 prisoners are stuck in the prison in solitary cells. The warden of the prison got bored one day and offered them a challenge. He will put one prisoner per day, selected at random (a prisoner can be selected more than once), into a special room with a light bulb and a switch which controls the bulb. No other prisoners can see or control the light bulb. The prisoner in the special room can either turn on the bulb, turn off the bulb or do nothing. On any day, the prisoners can stop this process and say "Every prisoner has been in the special room at least once". If that happens to be true, all the prisoners will be set free. If it is false, then all the prisoners will be executed. The prisoners are given some time to discuss and figure out a solution. How do they ensure they all go free?