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

Eight Chelsea player makes the following statements :

1. Seven of us are lying here.
2. Six of us are lying here.
3. Five of us are lying here.
4. Five of us are lying here.
5. Four of us are lying here.
6. Three of us are lying here.
7. My name is Torres.
8. My name is Lampard.

The last two are Lampard and Torres or maybe Torres and Lampard.
So can you deduce which of the last two is Lampard or Torres?

Asked by Neha on 14 Oct 2024


Make the seating arrangement of 10 children in such a way that there are 5 rows with 4 children in each row.

Asked by Neha on 18 Mar 2026

When I go in I might cause pain. I cause you to spit and ask you not to swallow. I can fill your hole. What am I?

Asked by Neha on 20 Feb 2026


It's a protector.
It sits on a bridge.
One individual can see directly through it, while others wonder what it hides.

What is it?

Asked by Neha on 21 Sep 2023

A little girl goes to the store and buys one dozen eggs. As she is going home, all but three break. How many eggs are left unbroken?

Asked by Neha on 02 Mar 2022

I’m tall when I’m young, and I’m short when I’m old. What am I?

Asked by Neha on 12 Feb 2022


There is something which you can be arrested for attempting but not for successfully completing.

Asked by Neha on 30 Apr 2024

Can you find a rabbit in the given picture?

Hidden Picture Riddle

Asked by Neha on 08 Apr 2023

There are three boxes of different sizes with three cupcakes inside each of the boxes in Christina's kitchen. At night her daughter wakes up and goes to the kitchen. She opens a box and eats all three cakes.

But in the morning Christina finds out that each box still had three cupcakes. How?

Asked by Neha on 06 Dec 2024


A boy collects white seashells from the sea and brings them home every night. When he has enough of them, he decides to sell them to a trader.

The trader is ready to buy the shells and he asks the boy about the quantity. At this, the boy starts calculating. He has a giant box that contains 3 mini boxes. Two of them have another mini box inside. If the giant box can hold 50 shells, how many brown shells can he sell to the trader?

Asked by Neha on 25 Jun 2023

Hot Articles

Amazing Facts

Word ladder puzzle

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