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

A man is looking at a photograph of someone. His friend asks who it is. The man replies, “Brothers and sisters, I have none. But that man’s father is my father’s son.” Who was in the photograph?

Asked by Neha on 04 Jul 2025


Replace the question mark with the correct number.

Replace the question mark

Asked by Neha on 09 May 2023

There are two dice with empty faces in front of you and a marker. You can mark any number on each of the faces of the two dice, but you have to display all 31 days of the month using the two of them.

Which numbers will you mark on which dice so that you can easily depict all the dates of the month?

Asked by Neha on 03 Apr 2025


Every words stands for unique digit that makes the arithmetic equation true

SEVEN + SEVEN + SIX = TWENTY.

What are the digits ?

Asked by Neha on 31 Jan 2021

I came first on earth but second on the heaven.
I also came twice in a week but found just once in a year.
I stay away from months but you can find me in February.

What am I?

Asked by Neha on 01 Jan 2025

If you had a pizza with crust thickness 'a' and radius 'z', what's the volume of the pizza?

Asked by Neha on 30 May 2024


A man wants to cross the pit of fire which is 25 feet in length and he has 2 planks(fire resistant) 19 feet in length. How can he cross the pit of fire alive?

Asked by Neha on 02 Oct 2025

The first box has two white balls. The second box has two black balls. The third box has a white and a black ball.

Boxes are labeled but all labels are wrong!

You are allowed to open one box, pick one ball at random, see its colour and put it back into the box, without seeing the colour of the other ball.

How many such operations are necessary to correctly label the boxes?

Asked by Neha on 24 Jun 2021

Find the Next Number in the Sequence

2 9 3 1 8 4 3 6 5 7 ?

Asked by Neha on 12 Sep 2024


James bond was pushed out of an aeroplane without any parachute.
He survived, How come?

Asked by Neha on 28 Sep 2024

Hot Articles

Amazing Facts

Crossword puzzles

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