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

The picture shows the dice results in each couple of throws. If they are actually following a pattern, can you find out the missing one?

Next Dice Movement

Asked by Neha on 02 Dec 2023


Solve below rebus puzzle?

Popular Rebus

Asked by Neha on 18 May 2023

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


If we add four times the age of John four years from now to five times his age five years from now we get ten times his current age.

How old will John be two years from now?

Asked by Neha on 19 Jan 2025

A guard is positioned at the one side of the bridge saying ‘A’. His task is to shoot all those who try to leave from ‘A’ to the other side and say ‘B’. He also need to welcome the person who comes from another side ‘B’ to his side ‘A’. The guard comes out of his post every 1 hour and looks down the bridge for any people trying to leave. You are at side ‘A’ and wish to go to another side ‘B’. you also know that it would take 1:45 hr to cross the bridge. How will you cross the bridge?

Asked by Neha on 23 Apr 2024

What's the only room from which no one can enter or leave

Asked by Neha on 15 Apr 2024


I am a type of vehicle that has two wheels and is powered by humans. What am I?
Hint 1: You can ride me for exercise.
Hint 2: I am environment-friendly.

Asked by Neha on 01 Oct 2025

A detective visits his friend John just to discover that John's neighbour Dr Jacob was murdered. Dr Jacob, who is a mathematician wrote the murderer's name in a code word "Hcqtfz". There were five suspects
1. Ajit
2. Pankaj
3. Ganpat
4. Deenu
5. Hariya

The Detective was instantly able to find the murderer.
Can you?

Asked by Neha on 06 Jan 2026

I cry without having a voice.
I fly without having wings.
I bite without having teeth.
I whisper without a mouth.

Who am I?

Asked by Neha on 17 Nov 2025


A father's child, a mother's child, yet no one's son.

Who am I?

Asked by Neha on 21 Mar 2022

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.