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 is the next shape from answers A, B, C, and D figure?

Next Shape Riddle

Asked by Neha on 20 Jan 2024


If I put in one canary per cage, I have one bird too many. If I put in two canaries per cage, I have one cage too many. How many cages and canaries do I have?

Asked by Neha on 05 Oct 2023

Mr Red Lives in the red house.
Mr Green Lives in the greenhouse.
Mr Yellow Lives in the yellow house.

Who lives in the Whitehouse?

Asked by Neha on 26 Apr 2024


In the Thar desert, 3 men found a big 24L Jar is full of water. Since there is a shortage of water so they decided to distribute the water among themselves such that they all have equal amounts of it. But they only have a 13L, a 5L and an 11-litre Jar.

How do they do it?

Asked by Neha on 11 Jun 2024

There was a blind beggar living on the footpath of a street. Suddenly one day, the beggar's brother died. What was the relation of the blind beggar with the person who died?

PS: Brother is not the answer.

Asked by Neha on 20 Mar 2026

How many cubic feet of dirt are in a hole of one foot deep, three feet long, and two feet wide?

Asked by Neha on 13 Feb 2021


The more it dries, the wetter it becomes. Can you tell what it is?

Asked by Neha on 09 Mar 2023

Can you identify the hidden rebus in the image below?

Name the Coded Animal

Asked by Neha on 01 Feb 2021

What is so fragile that saying its name breaks it?

Asked by Neha on 19 Oct 2021


John is found dead in his office at his desk. The police have narrowed the suspects down to three people: Mrs. Jacob, John’s wife Hena and his business partner Jason . All three visited John on the day of his murder, but all three provide the police with stories of explanation as to the reason for their visit.
Police found John with his wrist watch still on his right arm, a torn up picture of his wife laying on the floor beside the trash can, and an ink pen in his right hand. On the desk, the police found a name plate, a telephone that was off the hook, and a personal calendar turned to the July 5th page with 7B91011 written on it. After examining this evidence, the police knew their suspect. Who was it ?

Asked by Neha on 11 Sep 2021

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.