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

A girl says this to her best friend: “I was born in 1955, and I celebrated my 17th birthday last weekend.” Her best friend thinks she’s lying, but she’s actually correct. How is that possible?

Asked by Neha on 12 Jun 2025


In the Chess Board picture below white army is arranged. You need to add a black army on the board such that no piece is under any threat.
Note: Army comprised of 1 king, 1 queen, 2 rooks, 2 bishops, 2 knights, and 8 pawns.

Game of Chess

Asked by Neha on 14 Nov 2023

You can find some missing letters in the picture. By placing two particular letters in the spaces, you can form a nine lettered word beginning from one of the corners and going clockwise direction to the middle. Can you find out the letters and the word?

Make the Word

Asked by Neha on 06 Oct 2023


A swan sits at the center of a perfectly circular lake. At an edge of the lake stands a ravenous monster waiting to devour the swan. The monster can not enter the water, but it will run around the circumference of the lake to try to catch the swan as soon as it reaches the shore. The monster moves at 4 times the speed of the swan, and it will always move in the direction along the shore that brings it closer to the swan the quickest. Both the swan and the the monster can change directions in an instant.
The swan knows that if it can reach the lake's shore without the monster right on top of it, it can instantly escape into the surrounding forest.

How can the swan successfully escape?

Asked by Neha on 22 Apr 2022

The following four words might seem abrupt to you. But you can make them meaningful by just adding vowels.
RDSH
GGPLNT
TMT
NN

Hint: All of them are vegetables.

Asked by Neha on 13 Nov 2025

A Car is crossing a bridge 2 miles long. The bridge can only hold 10000 lbs, which is the exact weight of the car. The Car makes it half way across the bridge and stops. A bird lands on the car. Does the bridge collapse? Explain.

Asked by Neha on 31 May 2024


Astrology starts with the alphabet A, Biology starts with B, Psychology with P and Limnology with L.

Can you find an "ology" that begins with a P?

Asked by Neha on 12 Nov 2024

The square root of number 121 is "11". What is the square root of the number "12345678987654321."?

Asked by Neha on 15 Dec 2024

A hen, a dog, and a cat are stolen. Three suspects are arrested named Robin, Steve, and Tim. The police are sure that all of them stole one of the animals but they don't know who stole which animal.

Sherlock Holmes is appointed to identify and is provided with the following statements from the investigation.

Robin - Tim stole the hen
Steve - Tim stole the dog
Tim - Both Robin and Steve are lying. I neither stole a hen nor a dog.

Sherlock is somehow able to deduce that the man who stole the cat is telling a lie and the man who stole the hen is telling truth.

Can you help him find out who stole which animal?

Asked by Neha on 22 Jun 2024


A man was driving a black truck. His lights were not on. The moon was not out. A lady was crossing the street. How did the man see her?

Asked by Neha on 06 Mar 2022

Hot Articles

Amazing Facts

Jigsaw puzzles

Jigsaw puzzles soared in popularity during the great depression, as they provided a cheap, long-lasting, recyclable form of entertainment.