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

They came out at night, without being called.
They lost at day, without being stolen.
Who are they?

Asked by Neha on 30 Aug 2021


The pound is not a finish.

We are sharing a few instructions below, which you have to use in any suitable order to modify the above sentence such that the end sentence is a scientific fact.

- Eliminate a letter and supplement another in its place.
- Take away one word.
- Remove one letter from one word.
- Get rid of two letters from one word.
- Swap a word with its antonym.

Asked by Neha on 03 May 2025

You knock a Table over in the library, and suddenly 20 eyes are looking at you.

Asked by Neha on 21 Sep 2021


What's the next in the series?

H, Be, F, S, Mn, Kr, In, Gd, Tl, ?

Asked by Neha on 17 Oct 2023

Sally lives in a place where six months of the year is mild summer and the temperature drops significantly the other six months. She owns a lake where there is a small island. She wants to build a house on the island and needs to get materials there. She doesn’t have a boat, plane, or anything to transport them to the island. How does Sally solve this problem?

Asked by Neha on 09 Jun 2025

Why do we preferably have round manhole covers and not square ones?

Asked by Neha on 22 Apr 2024


There is a family that live in a round house. The two parents go out for a movie and leave a babysitter to watch their son. They come back and the kid was not there. Some one kidnapped him. The maid said she was cleaning in a corner. The cook said he was making pizza. The babysitter said she was getting a board game. Who kidnapped him.

Asked by Neha on 16 Mar 2022

What has a ring but no finger?

Asked by Neha on 13 Apr 2024

By moving exactly three matchsticks can you make the below equation true.It can be solved by 3 ways.

Matchsticks Equation

Asked by Neha on 19 Feb 2021


Which number should replace the question mark?

Triangular Logic

Asked by Neha on 11 Aug 2023

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.