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

I am the beginning of the end, and the end of time and space. I am essential to creation, and I surround every place. What am I?

Asked by Neha on 23 Mar 2022


Can you find out the number that should replace the question mark with a valid reason?

Replace Question Mark Riddle

Asked by Neha on 19 Apr 2026

The teacher told the student that if he told a lie then he will be expelled from school and if he told the truth then he still is expelled from school.

What can a student say to prevent his being expelled from school?

Asked by Neha on 17 Nov 2023


When monkey rotate the gear, which mark will be hit 1 or 2 ?

Monkey Gear riddle

Asked by Neha on 30 Apr 2021

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

Four men were in a boat on the lake. The boat turns over, and all four men sink to the bottom of the lake, yet not a single man got wet! Why?

Asked by Neha on 22 Oct 2024


Can you convert the number zero(0) into a positive number using just one mathematical operator ?

Asked by Neha on 16 Mar 2024

You Throw The Outside, Cook The Inside
Eat The Outside, Throw The Inside.

What Is It?

Asked by Neha on 27 Jun 2023

The host of a game show offers the guest a choice of three doors. Behind one is an expensive car, but behind the other two are goats.
After you have chosen one door, he reveals one of the other two doors behind which is a goat (he wouldn't reveal a car).

Now he gives you the chance to switch to the other unrevealed door or stay at your initial choice. You will then get what is behind that door.

You cannot hear the goats from behind the doors, or in any way know which door has the prize.

Should you stay, or switch, or doesn't it matter?

Asked by Neha on 06 May 2023


I have a big mouth and I am also quite loud! I am NOT a gossip but I do get involved with everyone's dirty business.

Asked by Neha on 24 Apr 2026

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.