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

Can you solve the below tricky visual equation?

Visual Equation

Asked by Neha on 29 Jun 2024


A cat had three kittens: Snophy, Topsy and Jorden. What was the mother's name?

Asked by Neha on 27 Jun 2024

The host of a game show, offers the guest a choice of three doors. Behind one is a expensive car, but behind the other two are goats.
After you have chosen one door, he reveals one of the other two doors behind which is a goat (he wouldn't reveal a car).

Now he gives you the chance to switch to the other unrevealed door or stay at your initial choice. You will then get what is behind that door.

You cannot hear the goats from behind the doors, or in any way know which door has the prize.

Should you stay, or switch, or doesn't it matter?

Asked by Neha on 06 Aug 2021


Can you count the number of triangles in the given picture?

Count The Triangles <br />

Asked by Neha on 29 Dec 2024

When is the top of a mountain similar to a savings account?

Asked by Neha on 18 Aug 2025

Can you decipher the following common phrase?

T M C
A U O
H S M
W T E

Asked by Neha on 14 May 2021


A man embarked on a questionnaire game. He kept asking the same question to whomever he found. The answer each time was different.

Can you guess what the question was?

Asked by Neha on 22 Apr 2023

Find the Goldfish below the given Image.

Find the Goldfish

Asked by Neha on 25 Feb 2025

John, Jack and Jill are in a desert. John doesn't like Jill and hence decides to murder him. He poisons the water supply of Jill. Since it is a desert area, Jill must drink or he will die of thirst.

Jack does not know of the actions of John and also decides to murder Jill. To succeed in his ill motives, he removes the water supply of Jill so he dies of thirst.

Jill dies due to thirst. Who murdered Jill?

Asked by Neha on 08 Aug 2023


Today is a very icy and cold morning in Newcastle. Mr Shearer, an office bus driver arrived to pick up the employees from the last stop. Shearer suddenly remembers that he needs to pick a newly joined 4miles to the north. Mr Shearer lost his direction compass, a few minutes later Shearer is able to figure that he is moving in the correct direction i.e. north. How did Shearer know that he is moving in the correct direction?

Asked by Neha on 01 Aug 2024

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.