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

I am an odd number. Take away a letter and I become even. What number am I?

Asked by Neha on 25 Feb 2022


John Went to the nearby store in a Mall to buy something for her home. Below is the conversation between the two:

John: How much for the one?
Shopkeeper: It is $2
John: How much for the Eleven?
Shopkeeper: It is $4
John: How much for the Hundred?
Shopkeeper: It is $6.

What is John buying?

Asked by Neha on 01 Dec 2025

Can you decipher these quotes by Albert Einstein?
Blf xzm mvevi hloev z kilyovn lm gsv ovevo lm dsrxs rg dzh xivzgvw.

Asked by Neha on 12 Jun 2024


Make eight squares by moving only two matchsticks.
Note- Square can be of different sizes.

Make the Square

Asked by Neha on 12 Apr 2021

It walks on 4 when its young, walks on 2 when it's older, and walks on 3 when its very old?

Asked by Neha on 17 Jul 2021

I am under you when I am whole.
I shift above you if you remove the first letter.
I come all around you if you remove the second as well.

Can you tell me who I am?

Asked by Neha on 28 Jun 2023


It belongs to you, but other people use it more than you do. What is it?

Asked by Neha on 19 Feb 2022

There are four people in a house. A fireman, an athlete, an old woman, and a drunk guy. The house catches fire and before the fact is known, it is too late. All they know is that the entire house is in flames and it will collapse exactly after twelve minutes. Now they can move out of the house but for that, they will have to pass the hallway which is entirely blazing with flames. Thus to move, one must carry a fire extinguisher to keep the flames away. Seeking the burnt wooden floor, only two people can run through that hallway at one time. But for others to go, one must return back with the fire extinguisher. The fireman is trained for such tasks and can run through the hallway in a minute. The athlete can make it in a couple of minutes. The old woman can run slowly and will cover the hallway in four minutes. The drunk guy will take five minutes to run through it. If all of them can make it through the hallway in twelve minutes, all of them will be saved. When two move together, they will run at the speed of the slower ones.

How will all four of them manage to run to safety?

Asked by Neha on 02 Jun 2023

The king of Octopuses has servants who have six, seven or eight legs. The distinguishing characteristics of the servants is that the one with seven legs always lie but the one with either six or eight legs speak the truth always.

One day, four servants meet and converse:

The black one says, 'We have 28 legs altogether.'

The green one says, 'We have 27 legs altogether.'

The yellow one says, 'We have 26 legs altogether.'

The red one says, 'We have 25 legs altogether.'


Can you identify the colour of the servant who is speaking the truth?

Servants with multiple legs

Asked by Neha on 09 Apr 2021


What famous saying does this rebus mean?

COME SERVED <---
COME SERVED
COME SERVED
COME SERVED
COME SERVED

Asked by Neha on 09 Sep 2023

Hot Articles

Amazing Facts

Crossword puzzles

In the 1920s, people feared that crossword puzzles would contribute to illiteracy.