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

There is a circular car race track of 10km. There are two cars, Car A and Car B. And they are at the exact opposite end to each other. At Time T(0), Both cars move toward each other at a constant speed of 100 m/seconds. As we know both cars are at the same speed they will always be the exact opposite to each other.
Note, at the center, there is a bug which starts flying towards Car A at time T(0). When the bug reaches car B, it turns back and starts moving towards the car A. The speed of bug is 1m/second. After 5 hours all three stop moving.
What is the total distance covered by the bug?

Asked by Neha on 03 Aug 2023


Solve The below Equation:

ALFA + BETA + GAMA = DELTA

Asked by Neha on 20 Jul 2023

Two friends decide to get together; so they start riding bikes towards each other. They plan to meet halfway. Each is riding at 6 MPH. They live 36 miles apart. One of them has a pet carrier pigeon and it starts flying the instant the friends start traveling. The pigeon flies back and forth at 18 MPH between the 2 friends until the friends meet.

How many miles does the pigeon travel?

Asked by Neha on 02 Aug 2021


If you paint a brown house white it will become a white house. If the stoplight changes from red to green, then the light is green. So, if you throw a white shirt into the Red Sea, what will it become?

Asked by Neha on 07 Jun 2025

Can you count the number of seconds in a year?

Clue: You need to bother about calculation.

Asked by Neha on 06 Oct 2024

Queen Elizabeth organised a royal party.

To Avoid uninvited guest royal family set a password.
Jack (an uninvited person) plan to enter the party. He stand nearby the door.

First guest comes, the security person said 'twelve' and guest replied with six.
Second guest comes , the security person said 'six' and guest replied with 'three'.

Jack thought is enough and he walked to the entry point. The security person said 'eight' , Jack replied smilingly 'four'.
He was immediately thrown out of the party. why ?

Asked by Neha on 09 Aug 2021


I am an eight letter word and I am a computer terminology.
The second, third and fourth letters make an animal.
The fourth, fifth, sixth, seventh and eighth letters make a weapon.
The first, second, third and fourth letters can be taken as an outcome of any exam.
The fifth, sixth, seventh and eighth letter combine to form a high end typing software.

Can you tell who am I ?

Asked by Neha on 16 Jul 2021

I am weightless, but you can see me. Put me in a bucket, and I'll make it lighter. What am I?

Asked by Neha on 23 Nov 2025

What goes up but never comes down?

Asked by Neha on 26 Oct 2021


Every words stands for unique digit that makes the arithmetic equation true

SEVEN + SEVEN + SIX = TWENTY.

What are the digits ?

Asked by Neha on 31 Jan 2021

Hot Articles

Amazing Facts

Crossword puzzles

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