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

What does it mean?

What does it mean?

Asked by Neha on 03 Mar 2025


Can you solve below mathematical equation?

2^1234 - 2^1233

Asked by Neha on 26 Jan 2024

A girl is twice as old as her brother and half as old as her father. In 50 years, her brother will be half as old as his father. How old is the daughter now?

Asked by Neha on 21 Jan 2023


Which city is three-fifths chick two third cat and 50% goat?

Asked by Neha on 25 Jan 2024

What kind of storm is always in a rush?

Asked by Neha on 16 Jan 2024

John was writing his first book. After saving the document, he locked his laptop with a password and mentioned some phrases for the hint box.

A friend of his tried opening his laptop but found out that it was password protected. Following is the hint that appeared.
1 mobile 3 books 2 roars 1 night 4 balls 2 lighters 1 ghost 1 hat 3 watches.

Can you help him in cracking the password?

Asked by Neha on 05 Sep 2023


A girl was sitting in her hotel room when she heard a knock on the door. She opened the door and found that a man was standing outside. The man said, "Oh! I am really sorry, I thought this was my room." He then walked through the corridor to the elevator. The girl did not know the man. She closed her door and called security asking them to apprehend the man. What made her suspicious of that man? He might have been genuinely mistaken.

Asked by Neha on 27 Jan 2024

Usually, a boxing match consists of twelve rounds. In a particular friendly match between two heavyweights, the match was finished in the ninth round itself as one of the boxers knocked out the other one.

But, in that fight, no man threw even a single punch.

How can this be possible?

Asked by Neha on 28 Jan 2024

A man stands on one side of a river, his dog on the other. The man calls his dog, who immediately crosses the river without getting wet and without using a bridge or a boat. How did the dog do it?

Asked by Neha on 05 Jul 2025


I am looking for a word that change both gender and number when i add the letter 'S'.

What Word am I Looking For ?

Asked by Neha on 29 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.