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

In an office's desk, you find a unique method that shows the current day of the month. Two numbered cubes are used to depict the current date.

Can you find out the numbers on both the cubes so that each date can be mentioned using them?

Please note that you have to use both the cubes to display any date. Thus the 1st day must be represented by 01 and so on.

Asked by Neha on 14 May 2023


What 5-letter word typed in all capital letters can be read the same upside down?

Asked by Neha on 20 Oct 2025

A bus driver was heading down a street in Mexico. He went right past a stop sign without stopping, he turned left where there was a "no left turn" sign, and he went the wrong way on a one-way street. Then he went on the left side of the road past a cop car. Still - he didn't break any traffic laws. Why not?

Asked by Neha on 14 May 2021


Can you spot the hidden clock in this family photo? Only the most eagle-eyed will find it!

Find the Timepiece in This Family Vacation Scene

Asked by Neha on 03 Sep 2026

There are three houses in a straight row. One is red, one is blue, and one is white. The red house is left of the middle. The blue house is right of the middle. Where's the white house?

Asked by Neha on 25 Jul 2021

A Monkey, a squirrel, and an Eagle are racing to the top of the mango tree. Assuming all these animals are in perfect shape, Which animal will reach to Banana first?

Asked by Neha on 10 Apr 2026


Two men are in a desert. They both have packs on. One of the guys is dead. The guy alive has his pack open, and the guy who is dead has his pack closed. What is in the pack?

Asked by Neha on 19 May 2026

What is more useful when it is broken?

Asked by Neha on 30 Mar 2022

What is the fewest number of coins that would be required in order to make sure each and every coin touches exactly three other coins?

Asked by Neha on 09 Feb 2025


On this table for two, something is missing for the other one. Your task here is to find the food item that does not have its pair on the table.

Find The Odd Food

Asked by Neha on 23 Sep 2026

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.