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 have one of the three numbers: 1, 2, or 3 in my mind. I speak only truth. You can ask me just one question for which I will only reply in yes or no or don't know. What question will you ask from me so that you are able to know the number?

I Speak only the Truth

Asked by Neha on 15 May 2023


Can you find the company name in the pictogram below?

Find The Company

Asked by Neha on 09 Dec 2024

If,

A + B = C
D - C = A
E - B = C

Based on the above equations, find out the answer for:

D + F = ?

Asked by Neha on 01 Jan 2026


While handling a project, the landscaper is asked by the owner of the mansion that he wants four trees in front of his mansion that are exactly equidistant from each other.

How will he do it?

Asked by Neha on 20 Nov 2023

What do you see in the given picture?

Are you Intelligent ?

Asked by Neha on 17 May 2021

What word is identified by the below rebus?

Your Your Your Your Your
Your Your Your Your Your

Asked by Neha on 27 Jul 2023


By what process could you make a 'Tea-Table' into food?

Asked by Neha on 16 Aug 2023

Two boys were admitted to a school. When the headmaster asks them about their parents, they tell him that they have same parents (father and mother). On further inquiry, it turns out that they both share the same date for their birthday.

"Are you twins," ask the headmaster.
"No," replies the boys.

Is it possible?

Asked by Neha on 22 Feb 2024

You are offered an opportunity to win a fortune. There are 100 precious black stones and 100 unworthy white stones. There are two different sacks labelled as "Heads" and "Tails". You can distribute the stones as you wish. Then a coin will be flipped. Then you will have to choose a stone from the corresponding sack. If you pick up a black stone, all the fortune of black stones is yours but if you pick up white, you get nothing.

How will you distribute the stones so that you can maximize your chances of winning?

Asked by Neha on 07 Aug 2026


What is full of holes but still holds water?

Full of holes riddle

Asked by Neha on 26 Apr 2021

Hot Articles

Amazing Facts

Word ladder puzzle

The word ladder puzzle was invented by Lewis Carroll, author of Alice’s Adventures in Wonderland.