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 Difficult Riddles

The ages of a father and son add up to 66.
The father's age is the son's age reversed.
How old could they be?
(3 possible solutions).

Asked by Neha on 17 May 2021


When Jack was six years old he hammered a nail into his favourite tree to mark his height. Ten years later at age sixteen, Jack returned to see how much higher the nail was. If the tree grew by five centimetres each year, how much higher would the nail be?

Asked by Neha on 17 May 2021

I am the beginning of everything, the end of everywhere. I'm the beginning of eternity, the end of time and space. What am I?

Asked by Neha on 21 Mar 2025


A man is looking at a photograph of someone. His friend asks who it is. The man replies, “Brothers and sisters, I have none. But that man’s father is my father’s son.” Who was in the photograph?

Asked by Neha on 04 Jul 2025

Can it be possible to build a house that has all its four walls facing towards the South?

Asked by Neha on 20 May 2024

What does man love more than life, hate more than death or mortal strife; That which contented men desire; the poor have, the rich require; the miser spends, the spendthrift saves, and all men carry to their graves?

Asked by Neha on 15 Mar 2025


Today is a very icy and cold morning in Newcastle. Mr Shearer, an office bus driver arrived to pick up the employees from the last stop. Shearer suddenly remembers that he needs to pick a newly joined 4miles to the north. Mr Shearer lost his direction compass, a few minutes later Shearer is able to figure that he is moving in the correct direction i.e. north. How did Shearer know that he is moving in the correct direction?

Asked by Neha on 01 Aug 2024

What common phrase is represented by the below lines

Easy going:
Weak, 'I'm going.'
Tough, 'I'm staying.'

Medium going:
Weak, 'I'm going.'
Tough, 'I'm staying.'

Tough going:
Weak, 'I can't do it, I'm staying!'
Tough, 'Let's get going.'

Asked by Neha on 19 Nov 2024

Two prisoners Jack and Jill are locked in a cell.
There is open window approx 40 feet above the ground of the cell.
They are never able to reach there.

Then they plan to escape by a tunnel and they start digging out.
After digging for more than 20 days, Jill comes with the different plan and they escaped.

what was the plan ?

Asked by Neha on 10 Aug 2021


Eight of us go fourth, not back, to protect our king from an attack. What are we?

Asked by Neha on 17 Apr 2022

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.