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

Decode below three cipher riddles:

26 L of the A
7 D of the W
1000 Y in a M

Asked by Neha on 17 May 2021


Can you discover the missing number in this series?

37, 10, 82
29, 11, 47
96, 15, 87
42, ?, 15

Asked by Neha on 14 Nov 2024

You have to fill the below given grid in a manner that every row and column contains the digits 1 to 6. Also, make sure that the squares that are connected with each other must contains the same digit.

Fill the Grid

Asked by Neha on 17 May 2021


You need to pick one entry from pot A and one from pot B to have a perfect match. Can you do it?

Football World Cup 2014

Asked by Neha on 22 Aug 2021

I am a prime number.
The double of myself is equal to the square of me.

which number am I?

Asked by Neha on 18 Jan 2025

How many words can a pen with half refill write?

Asked by Neha on 03 Feb 2025


Teacher ask the student

'Why are you standing on that chair in music class ?'.

what did student replied ?

Asked by Neha on 10 Jan 2021

John went to buy some expensive, foreign chocolates. He only had Rs 100 with him. When he reached the shop, he got out and know that on those chocolates, there was a 15% import duty and 5% VAT.

How much worth chocolate should he buy so that he can accommodate it in Rs 100?

Asked by Neha on 25 Oct 2024

I have cities, but no houses. I have mountains, but no trees. I have water, but no fish. What am I?

Asked by Neha on 25 Jul 2025


How many sides does a circle have?

Asked by Neha on 06 Oct 2021

Hot Articles

Amazing Facts

Word ladder puzzle

The word ladder puzzle was invented by Lewis Carroll, author of Alice’s Adventures in Wonderland.