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

It was a dark stormy night and a couple were in a car driving madly to a city. The car broke down and the husband had to go get help from someone who spoke his language. He was afraid to leave his wife alone in the car so he locked the car before leaving. When he came back, the car was in the same state as he had left it but his wife was dead, there was blood on the floor and there was a stranger in the car. What happened?

Asked by Neha on 02 Aug 2024


This is a classy optical illusion puzzle. What more you can find except bricks in the image below?

Brick Optical Illusion

Asked by Neha on 05 Jan 2025

Jigsaw captured 100 people and make them stand in a circle and all these people are labelled as Person1, Person2, Person3... Person100. He made them play a crazy game in which Person 1 shot Person 2 and pass the gun to the next person and so on until one stands alive.

Which person will survive in the end?

Asked by Neha on 23 Sep 2025


What is the next shape from answers A, B, C, and D figure?

Next Shape Riddle

Asked by Neha on 20 Jan 2024

Two guards were on duty outside a barracks. One faced up the road to watch for anyone approaching from the North. The other looked down the road to see if anyone approached from the South. Suddenly one of them said to the other, "Why are you smiling?"

How did he know his companion was smiling?

Asked by Neha on 24 Apr 2022

What occurs twice in a week, once in a year but never in a day?

Asked by Neha on 27 Dec 2020


Seven Robbers robbed a bank and hide the coins in a lonely place.
They decide to divide the money equally the next morning. Two greedy robbers decided to cheat the others and reach the place at night. They equally divided the coins between them, one coin left. So they called another robber and then they decided to divide equally among the three. Sadly again one coin left. The same thing happened to the 4th 5th and the 6th robber.
However, when the 7th robber reached in the morning, they can divide the coins equally.

How many coins were there in total?

Asked by Neha on 29 Dec 2023

In the Mexico City area, there are two Houses H1 and H2. Both H1 and H2 have two children each.
In House H1, The boy plays for Mexico Youth academy and the other child plays baseball.
In House H2, The boy Plays soccer for his school in Mexico and they recently have a newborn.

Can you prove that the probability of House-H1 having a girl child is more than that of House-H2?

Asked by Neha on 06 Jun 2024

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


I know a country, If you remove the last alphabet of its name, it will become a part of your body. Do you name it?

Asked by Neha on 26 Jan 2021

Hot Articles

Amazing Facts

Jigsaw puzzles

Jigsaw puzzles soared in popularity during the great depression, as they provided a cheap, long-lasting, recyclable form of entertainment.