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

Replace the question mark with the correct number in the below-given picture?

Number Riddle

Asked by Neha on 08 Sep 2023


Prove that the below maths equation is true.

8 + 8 = 91

Asked by Neha on 16 Aug 2021

Can you find the hidden animal in the picture below?

Find Animal In Picture Riddle

Asked by Neha on 14 Apr 2021


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

Can you complete the sequence puzzle?

AR TA GE CA LE VI LI _

Asked by Neha on 02 May 2025

John was running from 40 thieves. John has got 3 gold boxes which weigh as 4kg, 2kg, and 1kg respectively. A witty man asked John to stay with him for seven days in exchange for 1kg gold per day. John needs to stay there for seven days and also do not want to give the witty man any advance. How can John pay for his seven days stay?

Asked by Neha on 14 Jul 2023


This is a simple one. You just have to count the number of Fs in the given sentence.

Finished Files are the result of years of scientific study combined with the experience of years.

How many did you count?

Asked by Neha on 02 Oct 2024

A mathematician couple was having a Frappuccino in Starbucks sitting opposite to each other. Suddenly the guy noticed the text written on the paper in front of them and exclaimed that it was wrong. The girl denied it and said it is appropriate. Both are correct. What is written on the paper?

Asked by Neha on 11 Jul 2023

Two girls were born to the same mother, on the same day, at the same time, in the same month and year and yet they're not twins. How can this be ?

Asked by Neha on 26 May 2021


Shyla was sleeping in her apartment when suddenly a robber broke into her house. He asked her to stay quiet and started looting the cash and jewelry. Suddenly the landline phone started ringing. The robber pointed a gun at Shyla and asked her to pick up and talk without giving away the situation.

She picked up the phone and it happened to be her husband. She spoke, Is it an emergency darling? Do give me a call when your flight lands, I will prepare your favorite food that will help you relieve the stress. Then she hanged up.

10 minutes after, the police arrive at the scene and catch the robber. How did the police know about the robbery?

Asked by Neha on 31 Mar 2023

Hot Articles

Amazing Facts

Jigsaw puzzles

Jigsaw puzzles soared in popularity during the great depression, as they provided a cheap, long-lasting, recyclable form of entertainment.