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

What is the difference between a jeweller and a jailer?

Asked by Neha on 11 Jul 2025


A seven-year-old kid challenged his classmates that he can make the number one disappear by adding something to it.

How can he do that?

Asked by Neha on 04 Apr 2024

On a certain day, John celebrated his birthday. Two days later, his older twin brother Jacob celebrated his birthday.

Is this even possible? How can it be?

Asked by Neha on 19 Jan 2021


All of Jacob's shoes are red except two.
All of Jacob's shoes are green except two.
All of Jacob's shoes are yellow except two.

How many shoes does Jacob have?

Asked by Neha on 15 Feb 2025

I’m light as a feather, yet the strongest person can’t hold me for five minutes. What am I?

Asked by Neha on 15 Feb 2022

Assume the given figure to be a delicious doughnut. Yes, now you can concentrate more on the puzzle. So you have this delicious doughnut in your refrigerator when your friends come knocking at the door. There are eight of them. Now you have to make three cuts in this doughnut so that each one of you nine people can enjoy a piece of it. Neither you nor your friends would mind the size of their piece as long as they are getting it. How will you do it?

Doughnut Distribution

Asked by Neha on 10 May 2024


I’m tall when I’m young, and I’m short when I’m old. What am I?

Asked by Neha on 12 Feb 2022

John is a strange liar.

He lies on six days of the week, but on the seventh day, he always tells the truth.

He made the following statements on three successive days:

Day 1: "I lie on Monday and Tuesday."
Day 2: "Today, it"s Thursday, Saturday, or Sunday."
Day 3: "I lie on Wednesday and Friday."

On which day does John tell the truth?

Asked by Neha on 27 Feb 2025

Can you identify the hidden rebus in the image below?

Name the Coded Animal

Asked by Neha on 01 Feb 2021


Analyze and find the missing item in the sequence:
16, 06, 68, 88, __, 98

Asked by Neha on 05 Apr 2025

Hot Articles

Amazing Facts

Rubik’s Cube

The inventor of the Rubik’s Cube didn’t realize he’d built a puzzle until he scrambled it the first time and tried to restore it.