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

In a family supper, a grandfather, a grandmother, two fathers, two mothers, four children, three grandchildren, one brother, two sisters, two sons, two daughters, one daughter-in-law, and one mother-in-law need to sit at a table.

There are only seven chairs available at the place. How many more chairs do they have to borrow so that everyone can sit down together for the suppers if everybody requires a separate chair?

Asked by Neha on 09 Nov 2024


Today is John's birthday.
A year ago, John had five candles and he lit all the candles except the one at the last.
Now he is going to light all the candles.

How old is John Today?

(He is not five today.....)

Asked by Neha on 04 Feb 2025

Edward James went for tiger hunting.

It was not his lucky day.



He got six tigers without heads, nine tigers without the tail and eight cut in two halves.

How many tiger did he hunted ?

Asked by Neha on 22 Apr 2021


A Detective reviewed the information they had on the case so far.

A lady named 'Caterina' was found shot and they already had a list of suspects - Ankit, Tarun, Harish, Manoj and Manish.
The killer is a fan of challenges him by leaving notes ad various places.
* The first was found in a toilet room.
* The second was found in an art room.
* The third was in a restroom.
* the fourth in an underwater room.
* The fifth at the no-smoking room.

All of the notes read the same thing, 'The clues are where you find the notes.' Yet, nothing was found at any place the notes were.
Detective the genius, immediately solved the case.
Who was the killer?

Asked by Neha on 11 Sep 2023

What is the largest number you can write with just 3 digits?

Asked by Neha on 18 Apr 2025

Decode the movie name from the below picture?

Movie Rebus

Asked by Neha on 26 Aug 2023


What is a word made up of 4 letters, yet is also made up of 3. Sometimes is written with 9 letters, and then with 4. Rarely consists of 6, and never is written with 5.

What has 4 Letters

Asked by Neha on 15 Mar 2024

I have nine bottles of wine and one of the nine bottles is poisoned.
I need to find the poisoned bottle with two facts
(1) Poison is deadly, only a sip will cost death
(2) I have two mice to do so.

How should I do it?

Asked by Neha on 25 May 2021

Can it be possible to build a house that has all its four walls facing towards the South?

Asked by Neha on 20 May 2024


Here is a conversation between a couple who both are software professionals.

Husband: Hey! What is your date of birth?
Wife Replied Angrily: It is 591062400
Husband after doing some calculations replied, "Got It".

What is the DOB of the wife?

Asked by Neha on 20 Feb 2025

Hot Articles

Amazing Facts

Crossword puzzles

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