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

"That Restaurant always remains crowded. This is the reason why nobody goes there".

Can you find a flaw in this statement?

Asked by Neha on 06 Apr 2024


Before Balboa discovered the Pacific Ocean, which was the largest ocean before that?

Asked by Neha on 03 Jul 2026

Complete the following series. It.s very logical:

1, 4, 5, 6, 7, 9, 11, __?

Asked by Neha on 02 May 2024


What does this rebus mean?

O
N
C
E
TIME

Asked by Neha on 22 Feb 2025

There are nine letters in the below-given diagram. You have to form a nine-letter word using these letters.

Word from nine Letters

Asked by Neha on 21 Dec 2023

Find the Odd One Out?
84129
32418
47632
36119
67626
72927

Asked by Neha on 05 Feb 2026


You are offered an opportunity to win a fortune. There are 100 precious black stones and 100 unworthy white stones. There are two different sacks labelled as "Heads" and "Tails". You can distribute the stones as you wish. Then a coin will be flipped. Then you will have to choose a stone from the corresponding sack. If you pick up a black stone, all the fortune of black stones is yours but if you pick up white, you get nothing.

How will you distribute the stones so that you can maximize your chances of winning?

Asked by Neha on 07 Aug 2026

How many triangles can you find in this given picture?

Count the Triangles

Asked by Neha on 27 Feb 2023

What is the probability of getting five Mondays in a 31-day month?

Asked by Neha on 10 Aug 2026


The two towns are exactly 100 km apart. John leaves City A driving at 30 km/hr and Jacob leaves City B half an hour later driving at 60 km/hr. Who will be closer to City A when they meet?

Asked by Neha on 11 Nov 2024

Hot Articles

Amazing Facts

Gamers

In 2011, people playing Foldit, an online puzzle game about protein folding, resolved the structure of an enzyme that causes an Aids-like disease in monkeys. Researchers had been working on the problem for 13 years. The gamers solved it in three weeks.