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

Why Aeroplane windows are round?

Aeroplane Window Shape

Asked by Neha on 29 Jul 2023


How can I get the answer 24 by only using the numbers 8,8,3,3?

You can use the main signs add, subtract multiply and divide.

Asked by Neha on 21 Jan 2026

Solve this tricky question. You are trapped in a forest. With you, you have a gun preloaded with two bullets in it. In front of you, there is a tiger, a leopard and a jaguar.

How do you survive?

Asked by Neha on 24 Mar 2024


Is the statement valid that it does not matter how much older a sibling is, eventually the younger one will be half as old as the older one?

Asked by Neha on 23 Feb 2023

Find out the missing number in the picture attached:

Find the Missing Number

Asked by Neha on 10 Jun 2023

What can you see in the middle of March and April that you can never see in any other month?

Asked by Neha on 13 Oct 2021


There are two guys standing face to face in a room. On a wall, there is a clock. One of those is a prophet. He tells the other guy that he will be stabbed in the back in five minutes.

Shocked to hear that, the other guy stares at the clock. Just after the five minutes, he is stabbed on the back. Can you tell what happened?

Asked by Neha on 29 Apr 2025

Every words stands for unique digit that makes the arithmetic equation true

SEVEN + SEVEN + SIX = TWENTY.

What are the digits ?

Asked by Neha on 31 Jan 2021

Why are televisions attracted to people?

Asked by Neha on 14 Jan 2024


Can You Find The Naughty BUNNY Hidden In The Girl’s Bedroom Within 9 Seconds? Good Luck!

Find BUNNY in the Bedroom

Asked by Neha on 24 Aug 2026

Hot Articles

Amazing Facts

Out of the Box

The phrase “thinking outside the box” was popularised from the solution to a topographical puzzle involving 9 dots in a box shape.