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 the picture, you can see a chess board. On the top left position, the K marks a knight. Now, can you move the knight in a manner that after 63 moves, the knight has been placed at all the squares exactly once excluding the starting square?

Are You A Chess Player?

Asked by Neha on 08 Apr 2024


What is both possible and impossible at the same time?

Asked by Neha on 15 Apr 2022

Do you know who was buried in John's tomb?

Asked by Neha on 27 Feb 2026


There are nine letters in the below-given diagram. You have to form a nine-letter word using these letters.

Word from nine Letters

Asked by Neha on 21 Dec 2023

Solve the puzzle by telling what does below picture means.

Solve by Name Puzzle

Asked by Neha on 28 Nov 2025

A man is shown a portrait painting. He looks closely, then tells, “Brothers and sisters have I none, but that man’s father is my father’s son!” Who is the man in the portrait?

Asked by Neha on 18 Jun 2025


There is a shop where written:
Buy 1 for $1
10 for $2
100 for $3
I needed 999 and still only paid $3. How could this be financially viable for the shop-keeper?

Asked by Neha on 24 Dec 2025

I always drive my customer away.

Who am I?

Asked by Neha on 29 Oct 2024

What will you call your mother's brother's brother-in-law?

Asked by Neha on 15 Jul 2024


If you remove one from eleven, it becomes ten. If you remove one from nine, it becomes ten.

How is this possible?

Asked by Neha on 25 Sep 2023

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.