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

On a special event at the prison, 5 prisoners John, Jacob, Krist, Tang, and Dang given a chance to go to a sauna and can bring one thing with them.

Following are the things that the prisoners bring with them.
John: A soda
Jacob: Thermos
Krist: Book named "How to kill"
Tang: A Walkman
Dang: Harmonica

Since it is a Sauna, no one can see each other. After a while When the steam is switched, Tang was found dead and there was blood all around.
J Bond was called and he instantly come to know who can be the murderer. How?

Asked by Neha on 07 Jul 2024


Give it food and it will live; give it water and it will die.

Asked by Neha on 17 Dec 2023

What kind of band never plays music?

Asked by Neha on 14 Jul 2025


John and his team plan to rob a safe. They got just one chance to break the code else the local police will be informed. Below are clues:
A) Exactly one number is perfectly placed: 9 8 1
B) Everything is incorrect: 9 2 4
C) Two numbers are part of the code of the safe but are wrongly placed: 0 9 3
D) One number is part of the code of the safe but is wrongly placed: 1 4 7
E) One number is part of the code of the safe but is wrongly placed: 7 8 3

Asked by Neha on 27 Apr 2024

What does this below rebus puzzle mean?

Personality Rebus Puzzle

Asked by Neha on 12 Aug 2024

What is the largest number you can write with just 3 digits?

Asked by Neha on 18 Apr 2025


You can see it everyday, But cannot touch it at will. What is it?

Asked by Neha on 17 May 2021

You have two bottles of pills marked with labels A and B. The pills are identical. The doctor has asked you to take one A pill and one B pill daily. You cant take more or less than that.

While taking out the pills one day, you took out one pill from A and by mistake took out two from B. You have no idea which pill is which now.

You cant throw away the expensive pills. What will you do now?

Asked by Neha on 02 Jul 2023

What can go up a chimney down, but can’t go down a chimney up?

Asked by Neha on 12 Jul 2025


It can't be seen, can't be felt, can't be heard, and can't be smelt.
It lies behind stars and under hills, And empty holes it fills.
It comes first and follows after, Ends life, and kills laughter.
What is it?

Asked by Neha on 17 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.