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

Out of three Friends John, Jacob and Jonny one of them is a king, one is a bureaucrat, and one is a Spy.

The king always tells the truth, the bureaucrat always lies, and the Spy can either lie or tell the truth.

John says: Jonny is a bureaucrat
Jacob says: John is a king
Jonny says: I am a Spy

Tell me, Who is the king, who is the bureaucrat, and who is the Spy?

Asked by Neha on 03 Feb 2024


Can you find the missing number in the third row?
35 20 14
27 12 18
5 2 ?

Asked by Neha on 26 Jun 2023

It was a dark stormy night and a couple were in a car driving madly to a city. The car broke down and the husband had to go get help from someone who spoke his language. He was afraid to leave his wife alone in the car so he locked the car before leaving. When he came back, the car was in the same state as he had left it but his wife was dead, there was blood on the floor and there was a stranger in the car. What happened?

Asked by Neha on 02 Aug 2024


In the picture that is attached with this question, you can find a square which comprises of four little squares inside it. Consider this square to be made with matchsticks. You have to remove two matchsticks such that only two squares remain instead of five.How will you do it ?

Make Two Square

Asked by Neha on 14 May 2021

How can you take 2 from 5 and leave 4?

Asked by Neha on 03 Apr 2022

Find the next number in the series

12, 20, 40, 72, 116, 172 ?

Asked by Neha on 19 Oct 2025


What does the below image rebus riddle means ?

Rebus Riddle

Asked by Neha on 04 Sep 2021

If eleven plus two equals one, what does nine plus five equal?

Asked by Neha on 07 Oct 2021

A Detective reviewed the information they had on the case so far.

A lady named 'Caterina' was found shot and they already had a list of suspects - Ankit, Tarun, Harish, Manoj and Manish.
The killer is a fan of challenges him by leaving notes ad various places.
* The first was found in a toilet room.
* The second was found in an art room.
* The third was in a restroom.
* the fourth in an underwater room.
* The fifth at the no-smoking room.

All of the notes read the same thing, 'The clues are where you find the notes.' Yet, nothing was found at any place the notes were.
Detective the genius, immediately solved the case.
Who was the killer?

Asked by Neha on 11 Sep 2023


Count the number of triangles in the picture below:

Counting You Should Know

Asked by Neha on 16 Jul 2024

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.