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

Decode below three cipher riddles:

26 L of the A
7 D of the W
1000 Y in a M

Asked by Neha on 17 May 2021


There are six people in a family namely M, N, O, P, Q and R.

R and O are brother and sister.

N is the brother of Q's husband.
P is the father of M and grandfather of R.

How many male members are in the family?

Asked by Neha on 22 Oct 2023

Given that

(78)^9 = 6
And (69)^4 = 11

Can you find out

(99)^2 =?

(Note: This is Logical, not Mathematical)

Asked by Neha on 19 Apr 2024


No matter how little or how much you use me, you change me every month. What am I?

Asked by Neha on 27 Jul 2025

10+10 and 11+11 can give you the same answer.

Explain how?

Asked by Neha on 07 Aug 2021

Can you count the number of squares in the given picture?

How Many Squares you Find

Asked by Neha on 13 Feb 2024


One evening there was a murder in the home of a married couple, their son and daughter. One of these four people murdered one of the others. One of the members of the family witnessed the crime.

The other one helped the murderer.

These are the things we know for sure:

1. The witness and the one who helped the murderer were not of the same sex.

2. The oldest person and the witness were not of the same sex.

3. The youngest person and the victim were not of the same sex.

4. The one who helped the murderer was older than the victim.

5. The father was the oldest member of the family.

6. The murderer was not the youngest member of the family.

Who was the murderer?

Asked by Neha on 20 Sep 2025

The Little ant seems to be always confused. Do you know why?

Asked by Neha on 26 May 2024

A person was killed at a house party. When the police arrive, there are six people present in the house who are the friends of the victim. The name of the friends is Rohit, Aman, Nick, Gagan, and Randy.

Near the dead body, they find a few numbers written with blood by the victim on the floor. The numbers are 8, 5, 4, and 11.

The police arrests one of the friends for the murder. Whom did they arrest and why?

Asked by Neha on 04 May 2023


I am a type of vehicle that has two wheels and is powered by humans. What am I?
Hint 1: You can ride me for exercise.
Hint 2: I am environment-friendly.

Asked by Neha on 01 Oct 2025

Hot Articles

Amazing Facts

Word ladder puzzle

The word ladder puzzle was invented by Lewis Carroll, author of Alice’s Adventures in Wonderland.