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

Sherlock breaks into a crime scene. The victim is the owner who is slumped dead on a chair and have a bullet hole in his head. A gun lies on the floor and a cassette recorder is found on the table. On pressing the play button, Sherlock hears the message 'I have committed sins in my life and now I offer my soul to the great Lord' and followed a gunshot Sherlock smiles and informed the police that's its a murder.

Why did he think so?

Murder Mystery with Sherlock Riddle

Asked by Neha on 01 May 2021


What does below rebus means ?

Break the Riddle

Asked by Neha on 15 Jan 2021

On a bus, there is a 26-year-old pregnant lady.
A 30-year-old policeman.
A 52-year-old random woman.
And the 65-year-old driver.

Who is the youngest?

Asked by Neha on 12 Feb 2023


I am a number I am not an odd number I am higher than 90 I am not higher than 100 If you subtract me from 100, you get nothing. What number am I?

Asked by Neha on 21 Feb 2022

A convention is held where all the big logicians are summoned. The master places a band on everyone's forehead. Now all of them can see others bands but can't see his own. Then they are told that there are different colours of bands. All the logicians sit in circle and they are further explained that a bell will ring at regular intervals. The moment when a logician knew the colour of band on his forehead, he will leave at the next bell. If anyone leaves at the wrong bell, he will be disqualified.

The master assures the logicians that the puzzle will not be impossible for anyone of them. How will the logicians manage ?

Qualcomm Logic Interview Puzzle

Asked by Neha on 26 Jul 2021

While sitting in the Car, John suddenly finds that one of the wheels was missing. John noticed that a killer is approaching towards him. John cannot get out of the car.

How will John escape?

Asked by Neha on 14 Jan 2021


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

Asked by Neha on 24 Oct 2023

In order to complete the racing competition, the Mexico racetrack has to submit its top and the most famous three horses to win the competition. Due to an electrical storm, all the records are cleared and no one knows which horse holds the record. They all look identical and it becomes even more difficult to differentiate the horses. There are 25 horses in the Mexico racetrack. But there can be only five horses at a time on the track. What will the least number of races that can be conducted to find out the three fastest horses?

Horse Race in Mexico

Asked by Neha on 24 Mar 2021

Railroad Crossing, look out for the cars. Can you spell that, without any R's ?

Asked by Neha on 14 May 2021


It begins where the time ends.
Its second is an expression of surprise.
Its third is a question.
Its fourth is urinate.
It ends with a drink.

Which country it is?

Asked by Neha on 21 Jul 2021

Hot Articles

Amazing Facts

Crossword puzzles

In the 1920s, people feared that crossword puzzles would contribute to illiteracy.