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

Nine marbles are arranged in the image below. Can you slide two marbles to form a square?

Arrange The Marbles Puzzle

Asked by Neha on 23 Jan 2026


I am taken from a mine and shut up in a wooden case, from which I am never released, and yet I am used by almost every person. What am I?

Asked by Neha on 24 Mar 2025

While going to your grandmother's house, you counted Twenty houses on the right side. While returning back to your home, you counted Twenty houses on the left side.

How many houses are there between your home and your grandmother's home?

Asked by Neha on 20 Feb 2024


What number divided by 4 is the same as that number minus 4?

Asked by Neha on 09 Oct 2025

Find the combined weight of the Cat, Dog and Rabbit in the given picture.

 Weight of Animals

Asked by Neha on 17 Jan 2024

A finger goes in me. You fiddle with me when you're bored. The best man always has me first. What am I?

Asked by Neha on 06 Oct 2025


Can you find the missing piece of the Porsche?

Find the missing part

Asked by Neha on 23 Jun 2023

To attend world science seminar, A famous chemist from Mexico visit
London. In the lab, the scientist was killed and his six assistants were under suspicion of killing the chemist.
Name of six assistants: Austin, Wayne, Dege, Oscaru, Lingard, and Rojo.
He left a note "76-20-44 79-16-22-7"

A local detective Jack was called to solve the case,

After reading the note, Jack instantly asked the police to arrest the murderers.

Who are the murderers?

Asked by Neha on 15 May 2021

Can you make a six-letter word using the letters N, A and B ?

Asked by Neha on 29 Aug 2021


A man started to town with a fox, a goose, and a sack of corn. He came to a stream which he had to cross in a tiny boat. He could only take one across at a time. He could not leave the fox alone with the goose or the goose alone with the corn. How did he get them all safely over the stream?

Asked by Neha on 05 Mar 2022

Hot Articles

Amazing Facts

Crossword

The day before the 1996 U.S. presidential election, the NYT Crossword contained the clue “Lead story in tomorrow’s newspaper,” the puzzle was built so that both electoral outcomes were correct answers, requiring 7 other clues to have dual responses.