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

There is a barrel with no lid and some wine in it. 'This barrel of wine is more than half full,' said Curly. 'No it's not,' says Mo. 'It's less than half full.' Without any measuring implements and without removing any wine from the barrel, how can they easily determine who is correct?

Asked by Neha on 05 May 2023


A man who was outside in the rain without an umbrella or hat didn’t get a single hair on his head wet. Why?

Asked by Neha on 27 Oct 2021

There were three women in all the swimming costumes!
One was happy and the other two were sad!
The happy one was crying and the sad ones were smiling.
Why was this?

Asked by Neha on 20 Jan 2025


If one and a half boys, eat one and a half burgers in one and a half hours.

How many burgers can 9 boys eat in 3 hours?

Asked by Neha on 20 May 2023

Can you start the fire using two pieces of wood?

Asked by Neha on 04 Sep 2024

A man is surviving on an island along with his friend. They have been starving for four days for food. Suddenly, they find a fisherman. The friend goes with the fisherman in order to catch the fish (if they can find any).

The fisherman returns after some time but he is alone and has some salmon that he had prepared. When asked, the fisherman tells him that his best friend fell off the boat and drowned in the water. Starving for so long, he eats the meal while crying for his friend.

After being rescued, he goes to a diner and orders salmon. When he eats his meal, he jumps and commits suicide. Why did he do it?

Asked by Neha on 22 May 2024


I have branches, but no fruit, trunk or leaves. What am I?

Asked by Neha on 13 Feb 2022

When I asked a girl's name she told me her name is the date '07/09/2001'.

I thought for a few seconds and then I got her name. Do you?

Asked by Neha on 02 Dec 2025

If an electric train is travelling south, then which way is the smoke going?

Asked by Neha on 27 Aug 2025


A cat had three kittens: Snophy, Topsy and Jorden. What was the mother's name?

Asked by Neha on 27 Jun 2024

Hot Articles

Amazing Facts

Rubik’s Cube

The inventor of the Rubik’s Cube didn’t realize he’d built a puzzle until he scrambled it the first time and tried to restore it.