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

Rose, Lily and Jasmine decided to buy flowers for their moms on Mother's Day. One of them bought lilies, the other roses, and the third one jasmines.
'It's funny!' said the girl with roses, 'we bought roses, jasmines and lilies, but none of us bought the flowers matching her name'.
'You're right!', said Lily.
What kind of flowers did each of the girls buy?

Asked by Neha on 07 Apr 2025


If two's company, and three's a crowd, then whats four and five ?

Complicated counting

Asked by Neha on 22 Feb 2021

What Deficiency does the below rebus represent?

VIT_MIN

Asked by Neha on 09 Jun 2024


Imagine you are in a room with no windows or doors. How will you get out?

Asked by Neha on 25 Oct 2025

You are mixing a mixture of cement and Sand with five gallons of water. You have a garden hose giving you all the water you need. The problem is that you only have a four-gallon bucket and a seven-gallon bucket and neither has graduation marks. Find a method to measure five gallons.

Asked by Neha on 13 Aug 2024

Can you find out which options fits best with the missing column?

Fit the Blocks

Asked by Neha on 28 Dec 2020


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

What is the fastest way to double your money?

Asked by Neha on 12 Feb 2023

A dying old man wants to divide his entire land between his only two sons. Since his only wish is to treat them as equal as both of them have been too good to him, he wants to divide his land equally between them. The problem is that the land is significantly irregular in shape and thus there is no choice of cutting them into two equal halves.

Can you help him divide the land in a manner that both of his sons will be happy?

Asked by Neha on 20 Jun 2023


This is a most unusual paragraph. How quickly can you find out what is so unusual about it? It looks so ordinary, you'd think nothing was wrong with it. Actually, nothing IS wrong with it. But it is not as ordinary as you might think. If you think about it for a bit, you will find out why it is truly so unusual. So what is it? What is so unordinary about this paragraph?

Asked by Neha on 02 May 2022

Hot Articles

Amazing Facts

Word ladder puzzle

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