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

Dr Doom invited a group of puzzle fanatics to a party which was oriented toward having puzzle-oriented games. At night, he introduced the guests to a 'unique riddle'. A prize was offered to the one who solved it first.

The guests included six people named Tom Paul, Fox Obama, Jeremy Reener, Alex Murphy, Prim Pastor, and Ellen Page. The winner of the 'unique riddle' contest was to be announced after the dinner. So Dr. Doom stood up and started the announcement:

'Okay now everybody!'
'The winner of�'
'The Hardest Riddle Ever Event'

But before he could complete it, the light went out and his voice was not heard without the mic by anyone. But they already knew who the winner was. Can you deduce the name of the winner?

Asked by Neha on 11 May 2026


If nine thousand, nine hundred nine dollars is written as $9,909,
how should twelve thousand, twelve hundred twelve dollars be written?

Asked by Neha on 13 Sep 2024

Before Balboa discovered the Pacific Ocean, which was the largest ocean before that?

Asked by Neha on 03 Jul 2026


Can you count the number of squares in the given picture?

How Many Squares you Find

Asked by Neha on 13 Feb 2024

In a basket of apples,
when counted in twos, there was one extra
when counted in threes, there were two extra when counted in fours, there were three extra
when counted in fives, there were four extra
when counted in sixes, there was five extra.

However, if the apples were counted in sevens, no extra apple was left. Can you calculate the minimum number of apples that were present in the basket?

Asked by Neha on 12 Sep 2023

John left on a horse on Thursday , was gone for two days, and came back on Thursday after completing his work. How did that happen?

Asked by Neha on 23 Feb 2021


What part of the chicken has the most feathers?

Asked by Neha on 19 Jul 2025

Name one eight-letter word with 'kst' in the middle, 'in' the beginning, 'and' at the end.?

Asked by Neha on 09 May 2024

Dwayne Johnson was running away with the loot from a heist in his car along with Vin Diesel. One tire was punctured and he dropped down to replace it. While changing the wheel, he dropped the four nuts that were holding the wheel and they fell into a drain. Vin Diesel gave him an idea using which they were able to drive till the rendezvous point.

What was the idea ?

Asked by Neha on 10 Apr 2023


what does the below rebus means?

Funny Love

Asked by Neha on 31 Aug 2023

Hot Articles

Amazing Facts

Word ladder puzzle

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