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

Why did Buffon take the goal with him after every Juventus match?

Asked by Neha on 24 Apr 2025


Two in a corner, one in a room, zero in a house, but one in a shelter. What am I?

Asked by Neha on 23 Jul 2025

How old is your son? asked a man to his neighbour. My son is five times as old as my daughter and my wife is five times as old as my son. I am twice as old as my wife whereas my grandmother, who is celebrating her eighty-first birthday is as old as all of us put together.

How old is the man's son ?

Asked by Neha on 17 May 2021


1 dollar = 100 cent
= 10 cent x 10 cent
= 1/10 dollar x 1/10 dollar
= 1/100 dollar
= 1 cent

=> 1 dollar = 1 cent

solve this tricky problem?

Asked by Neha on 12 Oct 2024

There are three boxes on a table. One of the box contains Gold and the other two are empty. A printed message contains in each box. One of the message is true and the other two are lies.

The first box says "The Gold is not here".

The Second box says "The Gold is not here".

The Third box says "The Gold is in the Second box".

Which box has the Gold?

Asked by Neha on 07 Feb 2021

You stand in front of two doors. A guard stands next to each door. You know the following things: one path leads to paradise, the other leads to death. You cannot distinguish between the two doors. You also know that one of the two guards always tells the truth and the other always lies. You have permission to ask one guard one question to discover which door leads to paradise. What one question would you ask to guarantee you enter the door to paradise?

Asked by Neha on 03 Jun 2025


You are driving down the road in your car on a wild, stormy night, when you pass by a bus stop and you see three people waiting for the bus

An old lady looks as if she is about to die.
An old friend who once saved your life.
The perfect partner you have been dreaming about.
Knowing that there can only be one passenger in your car, whom would you choose?

Asked by Neha on 11 Apr 2025

Two trains start at the same time, one from Bangalore to Mysore and the other from Mysore to Bangalore. if they arrive at their destinations one hour and four hours respectively after passing one another, how much faster is one train running than the other?

Asked by Neha on 19 Apr 2022

The Judge knows that Alamgir was killed by his girlfriend Jasline, but the judge is unsure whether to punish her. Why?

Asked by Neha on 18 May 2025


Replace each alphabet with the number (1-9) to make the below equation correct.

AB * C = DE - F = GH / I

Asked by Neha on 29 Aug 2024

Hot Articles

Amazing Facts

Word ladder puzzle

The word ladder puzzle was invented by Lewis Carroll, author of Alice’s Adventures in Wonderland.