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

You are mixing a mixture of cement and Sand with five gallons of water. You have a garden hose giving you all the water you need. The problem is that you only have a four-gallon bucket and a seven-gallon bucket and neither has graduation marks. Find a method to measure five gallons.

Asked by Neha on 13 Aug 2024


A father told his three sons he would die soon and he needed to decide which one of them to give his property to. He said, “Go to the market and buy something large enough to fill my bedroom, but small enough to fit in your pocket. From this, I will decide which of you is the wisest and worthy enough to inherit my land.” They all went to the market, and each came back with a different item. The father told his sons to come into his bedroom one at a time and try to fill up his bedroom with their items. The first son came in and put some pieces of cloth he bought and laid them across the room, but it barely covered the floor. The second son came in and laid some hay on the floor, but there was only enough to cover half the floor. The third son came in and showed his father what he bought. He wound up getting the property. What did the third son show his father?

Asked by Neha on 29 May 2025

Bopanna was working on a murder case when he received a message about the location of the murder weapon.
The message was encrypted as below.

"deb mitciv eht edisni neddih si nopaew redrum ehT"

Tell me the location of the murder weapon.

Asked by Neha on 04 Jan 2026


James Bond is caught up in a mysterious scenario where the evil villain has him blindfolded. He somehow breaks through the handcuffs but is unable to get the blindfold off. Upon searching, he comes across a bow and 3 arrows. He can hear the villain speak, and thus tries to take a shot at him. He launches the first arrow, it misses the villain. He then launches the second arrow and it misses by a greater margin.

What is the probability that this third shot our James bond takes will be worse than the second shot?

Asked by Neha on 21 Jun 2023

Six glasses are in a row. The first three are filled with milk and the last three are empty. By moving only one glass, can you arrange them so that the full and the empty glasses alternate?

Asked by Neha on 23 Sep 2023

It is a nine-letter word.
The exact opposite of the phrase "friendly and outgoing"
It contains the word "over".
It starts will a vowel.

What is it?

Asked by Neha on 25 Mar 2025


Jigsaw captured 100 people and make them stand in a circle and all these people are labelled as Person1, Person2, Person3... Person100. He made them play a crazy game in which Person 1 shot Person 2 and pass the gun to the next person and so on until one stands alive.

Which person will survive in the end?

Asked by Neha on 23 Sep 2025

In the Wild West, you are challenged into a death match by two bounty hunters nicknamed Golden Revolver (GR) and Killer Boots (KB). You accept the challenge. None of you want to waste any of the bullet and so a certain rules are laid down:

1) All of you will shoot in a given order till the last man standing.
2) Each of you shoots only once upon his turn.
3) If any one of you is injured, the other two will finish him off with an iron rod.
4) The worst shooter of all (which is you) shoots first and the best one shoots at the last.

Now, how will you plan things if you know that you hit every third shot of yours, KB hits every second shot and GR hits every shot ?

Asked by Neha on 15 Dec 2025

I make two people out of one. What am I?

Asked by Neha on 29 Mar 2022


What does the below rebus riddle means?

Wise Rebus Riddle

Asked by Neha on 04 Jul 2021

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.