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

A father told his three sons he would die soon and he needed to decide which one of them to give his property to. He said, “Go to the market and buy something large enough to fill my bedroom, but small enough to fit in your pocket. From this, I will decide which of you is the wisest and worthy enough to inherit my land.” They all went to the market, and each came back with a different item. The father told his sons to come into his bedroom one at a time and try to fill up his bedroom with their items. The first son came in and put some pieces of cloth he bought and laid them across the room, but it barely covered the floor. The second son came in and laid some hay on the floor, but there was only enough to cover half the floor. The third son came in and showed his father what he bought. He wound up getting the property. What did the third son show his father?

Asked by Neha on 29 May 2025


Can you solve the photo plexer logic ?

Logical Rebus

Asked by Neha on 14 May 2021

John is looking at Jenifer, but Jenifer is looking at Jacob. John is married, but Jacob is not.

Is a married person looking at an unmarried person ?

Asked by Neha on 08 Feb 2021


What work can one never finish?

Asked by Neha on 12 Jan 2024

How high do you have to count before you use the letter “a” in the English spelling of the whole number?

Asked by Neha on 11 Sep 2025

Queen Elizabeth organised a royal party.

To Avoid uninvited guest royal family set a password.
Jack (an uninvited person) plan to enter the party. He stand nearby the door.

First guest comes, the security person said 'twelve' and guest replied with six.
Second guest comes , the security person said 'six' and guest replied with 'three'.

Jack thought is enough and he walked to the entry point. The security person said 'eight' , Jack replied smilingly 'four'.
He was immediately thrown out of the party. why ?

Asked by Neha on 09 Aug 2021


what one word does the below rebus identifies?

Read Picture Rebus

Asked by Neha on 15 May 2025

Complete the following series. It.s very logical:

1, 4, 5, 6, 7, 9, 11, __?

Asked by Neha on 02 May 2024

I am a type of vehicle that has two wheels and is powered by humans. What am I?
Hint 1: You can ride me for exercise.
Hint 2: I am environment-friendly.

Asked by Neha on 01 Oct 2025


Pronounced as 1 letter, And written with 3, 2 letters there are, and 2 only in me. I’m double, I’m single, I’m black blue and grey, I’m read from both ends, and the same either way. What am I?

Asked by Neha on 08 Aug 2025

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.