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

What does the below image rebus riddle means ?

Rebus Riddle

Asked by Neha on 04 Sep 2021


Bobby and Wilbur decided to take their respective car out of the garage and race. None of them cheated and they both stood at the start time and decided to cover a distance in full throttle. The first to reach the mark was to be declared the winner.

Upon reaching the finishing mark, they found out that Bobby's car was 1.2 times faster than Wilbur's. Now, Wilbur had reached the mark about 1 minute and 30 seconds later than Bobby. Bobby's car reached the mark of 60 MPH on average.

Can you calculate the distance between the starting mark and the final mark with the help of the given data?

Asked by Neha on 08 Mar 2026

John was piloting a plane behind a car but was never able to overtake it. Why?

Asked by Neha on 04 Dec 2023


If there are fifteen crows on a fence and the farmer shoots a third of them, how many crows are left?

Asked by Neha on 17 May 2021

There are three houses in a straight row. One is red, one is blue, and one is white. The red house is left of the middle. The blue house is right of the middle. Where's the white house?

Asked by Neha on 25 Jul 2021

What is a word made up of 4 letters, yet is also made up of 3. Sometimes is written with 9 letters, and then with 4. Rarely consists of 6, and never is written with 5.

What has 4 Letters

Asked by Neha on 15 Mar 2024


The horse jumps over the king.
Strangely there is absolutely no scratch on him.

Can anyone explain, how is this possible?

Asked by Neha on 06 Mar 2023

You see a boat filled with people, yet there isn’t a single person on board. How is that possible?

Asked by Neha on 16 May 2022

In the image below, you can see two glasses and two matchsticks.You need to move four matchsticks in such a manner that the crosses come inside the glasses. Note: you cannot move the crossed.

Fun With Matchsticks

Asked by Neha on 13 Dec 2023


You are given a set of weighing scales and 12 marbles. The scales are of the old balance variety. That is, a small dish hangs from each end of a rod that is balanced in the middle. The device enables you to conclude either that the contents of the dishes weigh the same or that the dish that falls lower has heavier contents than the other. The 12 marbles appear to be identical. 11 of them are identical, and one is of a different weight. Your task is to identify the unusual marble and discard it. You are allowed to use the scales three times if you wish, but no more. Note that the unusual marble may be heavier or lighter than the others. You are asked to both identify it and determine whether it is heavy or light

Asked by Neha on 02 Apr 2026

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