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

Solve this riddle by finding the odd one out from the rest.

Odd One Out in the Shapes Riddle

Asked by Neha on 18 Apr 2021


Bopanna was working on a murder case when he received a message about the location of the murder weapon.
The message was encrypted as below.

"deb mitciv eht edisni neddih si nopaew redrum ehT"

Tell me the location of the murder weapon.

Asked by Neha on 04 Jan 2026

Take 9 from 6, 10 from 9, 50 from 40, and leave 6.

How Come ??

Asked by Neha on 08 Mar 2023


A non-stop marathon is the shared favourite sport of three brothers.

*The oldest one is fat and short and trudges slowly on.
*The middle brother's tall and slim and keeps a steady pace.
*The youngest runs just like the wind, speeding through the race.

"He is young in years, we let him run!" the other two brothers explained, "'because though he is surely number one, he is second, in a way." Why is it?

Asked by Neha on 03 Apr 2024

How many bananas can you eat if your stomach is empty?

Asked by Neha on 13 Mar 2022

It comprises roots which nobody sees,
Much taller than those trees,
Up and up it goes,
Still it never grows?

Asked by Neha on 02 Jan 2025


There are two guys standing face to face in a room. On a wall, there is a clock. One of those is a prophet. He tells the other guy that he will be stabbed in the back in five minutes.

Shocked to hear that, the other guy stares at the clock. Just after the five minutes, he is stabbed on the back. Can you tell what happened?

Asked by Neha on 29 Apr 2025

In one of the popular batman series movie "Batman Forever", there was a riddle that goes like "Tear me off and then scratch my head and I was red then and now I am back. Who am I?

Scratch the head

Asked by Neha on 28 Mar 2021

You are trapped into a death trap by the famous jigsaw killer. As usual, a screen flashes in front of you and explains you the trap game. There are 100 pearls kept in a bowl in front of you and an empty bowl. Among the 100 pearls, 50 are white and 50 are black. You can divide them as you like into the two bowls. Once you are done, you will pull a lever, which will turn the room pitch black. The bowls will move and shuffle around. In the dark, you have to pick up one pearl from any bowl. Once you do that, the room will flood with lights again. If the peral you have in your hand is white, you will be allowed to live, but if the pearl you picked is black, the room will be filled with poisonous gas and you will die. How will divide the pearls to increase your chances of survival?

Asked by Neha on 03 Sep 2024


There is so small cabin inside a deep forest.
All the forest burned out to worst possible but the inside of the cabin is still the same.
However all the person inside the cabin die.

How come ?

Asked by Neha on 15 Sep 2024

Hot Articles

Amazing Facts

Gamers

In 2011, people playing Foldit, an online puzzle game about protein folding, resolved the structure of an enzyme that causes an Aids-like disease in monkeys. Researchers had been working on the problem for 13 years. The gamers solved it in three weeks.