Prisoner to be freed

The warden meets with 23 new prisoners when they arrive. He tells them, "You may meet today and plan a strategy. But after today, you will be in isolated cells and will have no communication with one another.

"In the prison is a switch room, which contains two light switches labeled 1 and 2, each of which can be in either up or the down position. I am not telling you their present positions. The switches are not connected to anything.

"After today, from time to time whenever I feel so inclined, I will select one prisoner at random and escort him to the switch room. This prisoner will select one of the two switches and reverse its position. He must flip one switch when he visits the switch room, and may only flip one of the switches. Then he'll be led back to his cell.

"No one else will be allowed to alter the switches until I lead the next prisoner into the switch room. I'm going to choose prisoners at random. I may choose the same guy three times in a row, or I may jump around and come back. I will not touch the switches, if I wanted you dead you would already be dead.

"Given enough time, everyone will eventually visit the switch room the same number of times as everyone else. At any time, anyone may declare to me, 'We have all visited the switch room.'

"If it is true, then you will all be set free. If it is false, and somebody has not yet visited the switch room, you will all die horribly. You will be carefully monitored, and any attempt to break any of these rules will result in instant death to all of you"

What is the strategy they come up with so that they can be free?




Similar Riddles

Why are televisions attracted to people?

Asked by Neha on 14 Jan 2024


Can you replace the question mark with the correct letter?

6 + 6 + 6 = N
7 + 7 + 7 = E
8 + 8 + 8 = R
0 + 0 + 0 = ?

Asked by Neha on 08 Jul 2024

Evil warlock dislikes dwarfs and therefore he selects four of them and buries them. The dwarfs are buried in the ground and they are in such a way that except for their heads, their body is inside the ground. The dwarfs cannot move their body and they can view only forward. They are all buried in a line, and amongst the four, one of the dwarfs is separated by a wall. All the dwarfs are in the same direction. The last dwarfs can see two heads of friends in the front and a wall. In the last second dwarf can see one head of his friend and a wall. The second dwarf can see only the wall. The dwarf can see nothing.
Warlock comprehends the situation and tells the dwarfs that he has placed hats on their heads. There are two blue hats and two red ones. In all four dwarfs, one of them has to say what colour hat he is wearing. If the dwarf says the correct colour of the hat, they will be left free. If the answer is wrong, then they will be dug inside the ground till the very end.

What will be the answer by the dwarf and how will they answer?

Asked by Neha on 14 May 2025


What you cannot hold but it is yours?

Asked by Neha on 28 Dec 2024

In the given figure, you can see that four match sticks are used to form a square. Can you form five squares by using six matches?

Make Six Square

Asked by Neha on 14 May 2021

How high do you have to count before you use the letter “a” in the English spelling of the whole number?

Asked by Neha on 11 Sep 2025


I speak without a mouth, and hear without ears. I have no-body, but I come alive with the wind. What am I?

Asked by Neha on 17 May 2021

what does this picture(rebus) riddle means ?

Laugh together

Asked by Neha on 08 Apr 2021

You board a train. The train will have to enter a tunnel soon. You are claustrophobic. Which place is the best for you to sit?

Asked by Neha on 17 Nov 2024


As you can see that fifteen matches have been used to form an arrangement. What you have to do is remove any six of them to make them ten.

Make the Word TEN

Asked by Neha on 14 May 2021

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.