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

People make me, save me, change me, raise me. What am I?

Asked by Neha on 08 Mar 2025


Find The Next Number in this series.
1, 2, 6, 42, 1806 ?

Asked by Neha on 10 Jan 2025

It is deaf, Dumb and Blind!!!

Still, always tells the truth. What is it?

Asked by Neha on 06 Feb 2024


You have two jars of chocolates labelled as P and Q. If you move one chocolate from P to Q, the number of chocolates on B will become twice the number of chocolates in A. If you move one chocolate from Q to P, the number of chocolates in both the jars will become equal.

Can you find out how many chocolates are there in P and Q respectively?

Asked by Neha on 11 Apr 2023

Given below is simple addition with a defined pattern pattern:
7 + 7 = 2
8 + 8 = 4
8 + 5 = 1
6 + 9 = 3
10 + 11 = 9

Can you analyze the pattern and find out the answer for:

4 + 9 = ?

Solve the Addition

Asked by Neha on 05 Apr 2021

Andrew’s doctor gives him three pills and tells him to take one every half hour. How much time will have passed by the time Andrew’s taken all three pills?

Asked by Neha on 22 Jun 2025


If 5 cats catch 5 mice in 5 minutes, how long will it take one cat to catch a mouse?

Asked by Neha on 22 Mar 2022

Eight Chelsea player makes the following statements :

1. Seven of us are lying here.
2. Six of us are lying here.
3. Five of us are lying here.
4. Five of us are lying here.
5. Four of us are lying here.
6. Three of us are lying here.
7. My name is Torres.
8. My name is Lampard.

The last two are Lampard and Torres or maybe Torres and Lampard.
So can you deduce which of the last two is Lampard or Torres?

Asked by Neha on 14 Oct 2024

Do you know of a place where the wind blows south and then suddenly shifts direction towards the north?

Asked by Neha on 14 Sep 2025


I can write cow in 13 letters.

Can You?

Asked by Neha on 03 Oct 2024

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.