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

You have to put a letter on the following to make it a meaningful word. The only challenge is that you can't use 'E'.

S E Q U E N C _

Asked by Neha on 23 May 2023


You have two rectangular wires.

Both of them have property that when you light the fire from one end , it will take 60 minutes to get completely burn.

However, they do not burn at consistent speed (i.e it might be possible 1st 20% burn in 50 minutes and 80% can burn in 10 minutes).

So how could you measure 45 minutes ?

Asked by Neha on 21 Feb 2021

One fine day, an intellectual man came to the emperor's court with the aim of testing Birbal's wittiness. In order to do this, he challenged Birbal to answer his question and hence prove that he was as intelligent and witty as he was said to be.
He asked Birbal, Do you want me to ask one difficult question or a hundred easy ones?
Since both Akbar and Birbal had had a tough day and were eager to leave, Birbal hastily told the intellectual to ask him a single difficult question.
Intellectual: OK. Tell me what came first into the world, the egg or the chicken?
Of course, the chicken, Birbal replied with a smile.
This time with a note of victory in his voice, the intellectual asked Birbal, How will you demonstrate that?
What did Birbal say?

Asked by Neha on 17 May 2021


A man was convicted of a minor offence in Akbar court. Akbar decided to give him a chance. He asked him to give a statement. If the statement is true, he will be killed by lions and if it is false, he will be killed by trampling of wild elephants.

The convicted person requested help from Birbal and since the crime was not a big one, Birbal decided to help him. Whatever Birbal suggested impressed Kabir and he let the convicted person go.

What did Birbal suggest to the person?

Asked by Neha on 10 May 2021

John is the son of Jacob.
So,
Jacob is the_____of John's father?

Asked by Neha on 17 Dec 2024

My location can be determined by the below rebus.
So where am i ?

Find my Location

Asked by Neha on 15 Aug 2021


Today is John's birthday.
A year ago, John had five candles and he lit all the candles except the one at the last.
Now he is going to light all the candles.

How old is John Today?

(He is not five today.....)

Asked by Neha on 04 Feb 2025

In a certain bank, a man deposits a certain amount. According to the bank policies, the amount will be doubled up in a year but as the service charge, they will also deduct Rs. 65 by the end of every year.

If after the 6th year, the amount becomes 0, what do you think is the original amount he deposited in the bank?

Asked by Neha on 23 Mar 2026

I noticed one of the words in the oxford dictionary is spelled incorrectly. What about you?

Asked by Neha on 24 Oct 2023


Can you complete the sequence puzzle?

AR TA GE CA LE VI LI _

Asked by Neha on 02 May 2025

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