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 am the fastest animal but cannot climb the tree. What am I?

Asked by Neha on 29 Oct 2025


On a beautiful Sunday morning, You ordered a hot tea to your hotel room and suddenly you remember an important thing that needed to be done right now will take around 3 minutes to complete.
Like most people you like your tea to be hot while drinking so, when should you pour cream in the tea?
1. straight away
2. Just people, you drink the team
3. Its does not matter

Asked by Neha on 24 Jun 2023

A man dies of old age on his 25 birthday. How is this possible?

Asked by Neha on 13 Feb 2022


If EELS + MARK + BEST + WARY = EASY

What does HELP + BARK + WARD + LEAD equal?

Find the Next

Asked by Neha on 18 Mar 2021

You order chicken wings at KFC in the boxes of 6, 9 and 20. What is the largest number of wings that you cannot obtain by buying in any combination of the boxes?

Asked by Neha on 10 Jul 2021

There are four 3-link chains. All you have to do is join them into a big 12-link chain. For joining two closed links, one of the links must be cut and placed onto the other link for closing.

How many minimum links will you have to cut to make the big chain?

Asked by Neha on 27 Sep 2023


What does it mean?

What does it mean?

Asked by Neha on 03 Mar 2025

Can you find the missing number in the third row?
35 20 14
27 12 18
5 2 ?

Asked by Neha on 26 Jun 2023

A man wants to cross the pit of fire which is 25 feet in length and he has 2 planks(fire resistant) 19 feet in length. How can he cross the pit of fire alive?

Asked by Neha on 02 Oct 2025


How can you drop a raw egg from a height onto a concrete floor without cracking it?

Asked by Neha on 27 Jan 2021

Hot Articles

Amazing Facts

No Solution

In 2007, a puzzle was released and $2 million prizes were offered for the first complete solution. The competition ended at noon on 31 December 2010, with no solution being found. Wiki