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

Jenifer is learning to drive her car. She went down a one way lane and in the wrong direction. But she do not break any law.

How come ?

Asked by Neha on 30 Jun 2021


One day, Birbal got late for a function and Akbar was highly disappointed.
Please forgive me Jahanpanah. I arrived late because my child was crying and I had to calm him down, explained Birbal.
Does it take this long to placate a child? questioned the emperor. I feel that you have no idea about how to raise a child. I order you to act like a child and I will act like your father to show you how you should have dealt with your child. Come on! Ask me all that he asked from you.
Father, I want a cow, said Birbal.
The emperor quickly ordered one of the servants to bring a cow to the kingdom.
I want to drink its milk, now, now, now! said Birbal, imitating the voice of his child.
Akbar asked his servants to milk the cow and give to Birbal.
The servants quickly milked the cow and offered the milk to Birbal. He sipped in a little and then gave the bowl to the emperor.
As Birbal put up the next demand that was put up by his child a few hours ago, the emperor was stunned and left the room.
What did Birbal say?

Asked by Neha on 17 May 2021

A man is approaching a broad and barren land. He has a package with him. If somehow, he is unable to open the package before reaching the land, he will die.

Can you guess what is present in the package?

Asked by Neha on 17 May 2025


Find the combined weight of the Cat, Dog and Rabbit in the given picture.

 Weight of Animals

Asked by Neha on 17 Jan 2024

I have branches, but no fruit, trunk or leaves. What am I?

Asked by Neha on 18 May 2022

Replace The Question Mark Below With the Correct Number.

2 {38} 3
4 {1524} 5
6 {3548} 7
8 {????} 9

Asked by Neha on 22 Feb 2026


A man is found hanging dead from the ceiling of a room. The room’s dimensions are 15 x 15 x 15. The man is only 6ft tall and the rope was only 2ft long. There are no windows and only one door to the room. The door is bolted shut from the inside, and a puddle of water is under the man. How did he kill himself?

Asked by Neha on 03 Sep 2025

When is the top of a mountain similar to a savings account?

Asked by Neha on 18 Aug 2025

Can you identify the Oscar-winning movie from the rebus below?

Oscar-Winning Movie

Asked by Neha on 06 Nov 2024


Out of four images which one is the odd one out?

Odd one out

Asked by Neha on 02 Oct 2023

Hot Articles

Amazing Facts

Word ladder puzzle

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