Question: A prison has 23 prisoners in 23 different cells. The prisoners have no way to communicate with each other in any way from their cells. There is another room, the rec room, that has two switches on the wall (A and B). The switches have on and off positions but they start in an unknown position.
Prisoners are randomly taken to and from the rec room one at a time. They must change the position of only one of the two switches each time they go to the room. At any point a prisoner can yell out, "Every prisoner has been here!" If the prisoner is correct that all of the prisoners have visited the rec room, then they all go free. If they aren't correct then they are all executed.
Before they start they are given one planning session during which they can discuss a method to win the game. What method can they use to ensure they all go free?
Answer: Here are the rules they can use to ensure they will all go free eventually:
The prisoners will choose one 'leader' and everybody else will be a follower. If you are a follower:
Question: Listen closely, for these for riddles are all connected. 1. How do you put a giraffe in the refrigerator? 2. How do you put an elephant in the refrigerator? 3. The lion king is having an animal conference, and all animals attend except one. Which animal does not attend? 4. You are on a stranded island that is inhabited by crocodiles. How do you get across without getting eaten alive?
Answer: 1. Open the refrigerator, put in the giraffe, and close the door. This question tests whether you tend to do simple things in an overly complicated way. 2. Did you say, "Open the refrigerator, put in the elephant, and close the refrigerator"? Wrong Answer. Open the refrigerator, take out the giraffe, put in the elephant and close the door. This tests your ability to think through the repercussions of your previous actions. 3. The Elephant. The elephant is in the refrigerator. You just put him in there. This tests your memory. 4. You just jump into the water and swim across to the mainland. Have you not been listening? All the crocodiles are attending the Animal Meeting. This tests whether you learn quickly from your mistakes