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 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 can you serve, but never eat?

Asked by Neha on 16 May 2026

A Japanese ship is sailing in the Indian Ocean. The captain of the ship feels tired and decides to take shower to be rejuvenated. He goes to take the shower after keeping his diamond-studded Rolex watch and gold chain on the table.
When he comes back after 15 minutes, he finds them missing. There are 4 crew members on the ship and he calls them one by one to ask them what they were doing in that duration.

Following are the answers:
1. Crew 'A' who is the cook replies that he was cooking mutton for the crew members.
2. Crew 'B' who is a housekeeper tells that he was sleeping in his room.
3. Crew 'C' who is the engineer says that he was checking on the generator.
4. Crew 'D' who is another housekeeper says that he was correcting the hoisted flag that was put upside down.

It took only a couple of seconds for the captain to find the thief. Can you find the thief too?

Asked by Neha on 03 Jan 2024


Below, you will find the mathematical proof that 10 equals 9.99999?. But is that possible or there is something wrong about it? Can you find the error?

x = 9.999999...
10x = 99.999999...
10x - x = 90
9x = 90
x = 10

Asked by Neha on 27 Aug 2021

Your mother’s brother’s only brother-in-law is asleep on your couch. Who is asleep on your couch?

Asked by Neha on 14 Mar 2022

What makes this number unique: 8,549,176,320?

Asked by Neha on 08 Jul 2025


Before reading ahead, you must know the fact that only one of the people here is telling the truth.

A says that B is lying.
B says that C is lying.
C says both A and B are lying.

Can you find out who is speaking the truth?

Asked by Neha on 26 Dec 2023

Can you find the company name in the pictogram below?

Find The Company

Asked by Neha on 09 Dec 2024

What is so fragile that saying its name breaks it?

Asked by Neha on 19 Oct 2021


If in a code language, DISTANCE is written as IDTUBECN and DOCUMENT is written as ODDVNTNE, the how will THURSDAY be coded as in the same language?

Asked by Neha on 17 May 2021

Hot Articles

Amazing Facts

Crossword puzzles

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