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

Teacher ask the student

'Why are you standing on that chair in music class ?'.

what did student replied ?

Asked by Neha on 10 Jan 2021


Manish has to secure 40% marks to pass his B.tech final exams.
He got just 40 marks and failed by 40-marks.

What is the maximum marks?

Asked by Neha on 04 Aug 2023

While preparing the table for dinner, wife came up with an idea to tease his mathematician husband. She asked her husband to pick nine toothpicks and make ten without breaking any toothpick.

The husband was also smart and did it within seconds. How ?

Asked by Neha on 22 Dec 2020


What are the 50th, 63rd and 100th numbers in the sequence below?
4, 5, 8, 8, 9, 9, 12, 13, 13, 13, 17, 18, ...

Asked by Neha on 08 Feb 2024

Three brothers Jacob, John, and James live in Mexico City. The product of the ages of these brothers is 175. Jacob and John are twins. How old is James?

Asked by Neha on 02 Sep 2024

John can eat 27 chocolates in an hour, Jacob can eat 2 chocolates in 10 minutes, and Jolly can eat 7 chocolates in 20 minutes. How long will it take them to share and eat a box of 120 chocolates whilst playing Chess?

Asked by Neha on 09 Sep 2024


I am a five-letter word and comprises two different vowels and three same consonants. I am so strong that I can spoil your entire work.

Can you find out who am I?

Asked by Neha on 13 Dec 2024

How can you leave a room with two legs and return with six legs?

Asked by Neha on 14 May 2021

A person was found dead on a big green land with no trees or buildings around. When the police arrived, they found a piece of rock lying next to him and the man was wearing clothes comprising of red, blue and yellow colours.

Can you tell who the person is and what was the cause of death?

Asked by Neha on 03 May 2024


A plane crashed between the border of Mexico and America. Where do you bury the survivors?

Asked by Neha on 17 May 2021

Hot Articles

Amazing Facts

No Solution

In 2007, a puzzle was released and $2 million prizes were offered for the first complete solution. The competition ended at noon on 31 December 2010, with no solution being found. Wiki