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

A bomb exploded in a room full of married couples and no one died. How?

Asked by Neha on 10 May 2025


Can you solve the below tricky visual equation?

Visual Equation

Asked by Neha on 29 Jun 2024

A mad serial killer kidnaps people and forces them to play the game of 2 pills with them, In this game, there are pills in the table and one of them is normal pill while the other one is deadly poisonous.
The victim will choose one pill and the killer will pick the other pill and both simultaneously will swallow the pill with water.
victim dies every time.

One day the serial killer kidnaps the Joseph and forces him to play the same game with him.

Joseph solves the mystery of the two pills and remains alive.

Explain?

Asked by Neha on 15 May 2021


He runs but never walks. Murmurs, but never talks. Has a bed, but never sleeps. And has a mouth, but never eats?

Asked by Neha on 24 Jul 2025

Christina has four daughters, and each of her daughters has a brother. How many children does Christina have?

Asked by Neha on 27 Feb 2022

A plane crashed between the border of Mexico and America. Where do you bury the survivors?

Asked by Neha on 17 May 2021


A certain street contains 100 buildings. They are numbered from 1 to 100. How many 9's are used in these numbers?

Asked by Neha on 29 Mar 2024

What can you hold in your right hand, but never in your left hand?

Asked by Neha on 13 Jul 2025

What is common among 11, 69, and 88?

What is common here

Asked by Neha on 15 Sep 2023


What can run but never walk, have a mouth that never speaks, have a head that never weeps, and have a bed but never sleeps?

Asked by Neha on 05 Sep 2025

Hot Articles

Amazing Facts

Crossword puzzles

In the 1920s, people feared that crossword puzzles would contribute to illiteracy.