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 does below science rebus mean?

Ag Ag Ag
Ag SPOON Ag
Ag Ag Ag

Asked by Neha on 11 Oct 2023


Count the number of lines in the image below ?

Riddles From Picture

Asked by Neha on 03 Feb 2021

Analyze and find the missing item in the sequence:
16, 06, 68, 88, __, 98

Asked by Neha on 05 Apr 2025


The day before yesterday I was 25 and the next year I will be 28. This is true only one day in a year. What day is my birthday?

Asked by Neha on 07 Dec 2025

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

Using four sevens (7) and a one (1) create the number 100. Except for the five numerals, you can use the usual mathematical operations (+, -, x, :), root and brackets ()

Asked by Neha on 26 May 2023


In a stable, there are men and horses. In all, there are 22 heads and 72 feet. How many men and how many horses are in the stable

Asked by Neha on 29 Jun 2023

Find the hidden tiger in the given optical illusion ?

Find the Tiger

Asked by Neha on 13 Jan 2021

How can you throw a ball as hard as you can and have it come back to you even if it doesn't hit anything there is nothing attached to it and no one else catches or throws it.

Asked by Neha on 06 Nov 2025


A man is found dead in his bathroom naked with blood scattered all around him. The bathroom was locked from the inside and there is no trace of any struggle. There is nothing in the bathroom except his pant with the belt still around and his shirt. Also, the medic team can't find any incision in his body that may have been the reason behind so much blood loss.

The Police department is clueless regarding this murder mystery.
Can you?

Asked by Neha on 27 Nov 2024

Hot Articles

Amazing Facts

Word ladder puzzle

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