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 came first on earth but second on the heaven.
I also came twice in a week but found just once in a year.
I stay away from months but you can find me in February.

What am I?

Asked by Neha on 01 Jan 2025


In the picture given below, can you find out which digit will take place of the question mark?

Replace the Question Mark

Asked by Neha on 10 Nov 2025

Sherlock Holmes was challenged to make a pre-drawn line smaller without erasing it. He did it in fractions of seconds. How?

Asked by Neha on 12 Apr 2023


Can you identify the direction in which this bus is moving; left or right?

Hint: The bus is moving on the roads of London.


Find Bus Direction

Asked by Neha on 17 May 2021

There are seven sisters in a house in a village where there is no electricity or any gadget.

Sister-1: Reading Novel
Sister-2: Cooking
Sister-3: Playing Chess
Sister-4: Playing Sudoku
Sister-5: Washing clothes
Sister-6: Gardening

what is Sister-7 doing ?

Asked by Neha on 26 Jan 2025

If you're 8 feet away from a door and with each move you advance half the distance to the door. How many moves will it take to reach the door?

Asked by Neha on 13 Aug 2023


No matter how little or how much you use me, you change me every month. What am I?

Asked by Neha on 27 Jul 2025

The following "Brain Bat" means Slow Down.
S
L
O
W

Using the same logic, can you tell us what does the following Brain Bat means ?
E
V
I
G

Asked by Neha on 14 May 2021

Write the next letter in this sequence.
O, T, T, F, F, S, S, E, __
**Hint: It is a Number Series Puzzle

Asked by Neha on 16 Dec 2025


What are the 50th, 63rd and 100th numbers in the sequence below?
4, 5, 8, 8, 9, 9, 12, 13, 13, 13, 17, 18, ...

Asked by Neha on 08 Feb 2024

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.