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

Arrange the numbers 1, 2, 3, 4, 5, 6, 7, 8 and 9 above and below the division line in a manner that the thus formed fractions equal to 1/3.

(You can use one number only once)

Asked by Neha on 13 Feb 2025


Christina is older than Kareena and Karishma. Katrina is older than Karishma and younger than Kareena. If Kareena has a brother named John, who is older than Christina, who's the youngest?

Asked by Neha on 10 Jul 2024

Begin with a word, five letters to my name,
Remove the first and last but I am the same
Take out my middle and still, I remain.
What word am I?

Asked by Neha on 25 Jan 2025


Find out a multi-digit number that if multiplied by the number 9 or any of its multiplications products (i.e. 18, 27, 36, 45,..) will result in the multiplication factor repeated (n) number of times.

Asked by Neha on 08 Jan 2021

What is at the end of a rainbow?

Asked by Neha on 17 May 2021

Five lovely ladies(Sophia, Isabella, Madison, Emma and Olivia) planned a picnic.

They each buy one thing each for the picnic.

Sophia, Emma and Olivia got a drink : orange-Juice, apple-juice, and mango-juice.
Olivia got the drink with the same letter as the one in her first name.
Emma loves mango-juice.
The other two bring some food : chocolates and pizza.
Also Madison is allergic to cheese.

So which ladies bought what ?

Asked by Neha on 24 May 2021


Can you solve the maths in the below-given picture equation?

Maths Picture Puzzle

Asked by Neha on 06 Sep 2023

It is a 5 letter word if you take away first letter it is something you get from sun, if you remove second letter you will get something to eat, if you remove third letter you get a word you use in pointing at and if you remove the fourth letter you get something to drink. What is it?

Asked by Neha on 17 May 2021

Decode this picture on T-Shirt and tell what it says ?

Learn Decoding

Asked by Neha on 11 Mar 2021


'S' refers to the number of seconds in a day and 'H' refers to the number of hours in ten years. Which quantity out of these two is greater?

Asked by Neha on 28 Apr 2025

Hot Articles

Amazing Facts

Out of the Box

The phrase “thinking outside the box” was popularised from the solution to a topographical puzzle involving 9 dots in a box shape.