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

The Little ant seems to be always confused. Do you know why?

Asked by Neha on 26 May 2024


Can you find out which options fits best with the missing column?

Fit the Blocks

Asked by Neha on 28 Dec 2020

Spot 5 differences in two Christmas tree below:

Christmas Tree

Asked by Neha on 06 Jul 2021


Can you identify the famous TV character from the rebus below?

Uncover TV character

Asked by Neha on 22 Nov 2023

A woman lives in a skyscraper thirty-six floors high and is served by several elevators which stop at each floor going up and down. Each morning she leaves her apartment and goes to one of the elevators. Whichever one she takes is three times more likely to be going up than down. Why?

Asked by Neha on 01 Nov 2024

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


John was driving a bus and got stuck when passing through an underpass. Then came Jacob with a needle and got the bus out of the underpass.

What did the boy do?

Asked by Neha on 30 Mar 2025

In a rainy season, one day 3 huge ladies walked under a normal-sized umbrella.
The umbrella is not huge enough to accommodate all 3 ladies yet not a single lady got wet. Why?

Asked by Neha on 19 May 2024

The husband and wife were jogging in the morning. To match every two steps of the husband, the wife required three steps. If Both of them start with the here right foot. After how many steps do their left foot be together?

Asked by Neha on 08 Feb 2025


There is a square piece of paper with a hole that is denoted by the circle on the top right side in the given picture. You have to cut the paper in a manner that it forms two and only two separate pieces of paper and then rearrange the pieces in a manner that the holes come in the centre of the paper.

Rearrange Paper

Asked by Neha on 18 Aug 2023

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