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

What does this Rebus Picture mean?

TV Rebus

Asked by Neha on 17 Mar 2024


John gave half of the apples he had plus one more to Jacob. He gave half of the remaining ones plus one more to James. Now, John was left with just one apple.

Can you find out how many did he have in the beginning?

Asked by Neha on 13 Nov 2024

You are given four results as below:
1111 = F
2222 = E
3333 = T
Then, can you find out how to code 4444?

Asked by Neha on 29 Nov 2023


By using 'because' continuously three times, can you make an English statement ?

Asked by Neha on 28 Aug 2021

How many letters are in the alphabet?

Asked by Neha on 04 Nov 2025

1. What does:
TIM JOB
represent?

2. What does:
MO_ _
represent?

Asked by Neha on 21 Feb 2025


Take one out and scratch my head, I am now black but once was red. What am I?

Asked by Neha on 29 Jul 2025

100 prisoners are stuck in the prison in solitary cells. The warden of the prison got bored one day and offered them a challenge. He will put one prisoner per day, selected at random (a prisoner can be selected more than once), into a special room with a light bulb and a switch which controls the bulb. No other prisoners can see or control the light bulb. The prisoner in the special room can either turn on the bulb, turn off the bulb or do nothing. On any day, the prisoners can stop this process and say "Every prisoner has been in the special room at least once". If that happens to be true, all the prisoners will be set free. If it is false, then all the prisoners will be executed. The prisoners are given some time to discuss and figure out a solution. How do they ensure they all go free?

Asked by Neha on 20 Apr 2022

I have two coins.
* One of the coins is a faulty coin having a tail on both sides of it.
* The other coin is a perfect coin (heads on side and tail on other).

I blindfold myself and pick a coin and put the coin on the table. The face of the coin towards the sky is the tail.

What is the probability that another side is also tail?

Asked by Neha on 07 Jun 2023


A man was telling some of his war stories to his grandchildren.
"When the World War I was on the verge of end, I was awarded for my bravery for I had saved a group of my men." He coughed and then added, "When we were fighting in northern France, an enemy soldier threw a grenade at us. Before it could explode, I picked it up and threw it away. For my act of bravery, right before the war ended, A General gave me a sword engraved with the words "Awarded for Display of Bravery and Heroism in World War 1"."

Hearing this, one of the grandson spoke up. "Grandpa, this is not a true story. It can"t be true!"

The truth is that it was not. How did the grand children know it?

Asked by Neha on 22 Feb 2023

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.