Prisoners got freed

100 prisoners are stuck in the prison in solitary cells. The warden of the prison got bored one day and offered them a challenge. He will put one prisoner per day, selected at random (a prisoner can be selected more than once), into a special room with a light bulb and a switch which controls the bulb. No other prisoners can see or control the light bulb. The prisoner in the special room can either turn on the bulb, turn off the bulb or do nothing. On any day, the prisoners can stop this process and say "Every prisoner has been in the special room at least once". If that happens to be true, all the prisoners will be set free. If it is false, then all the prisoners will be executed. The prisoners are given some time to discuss and figure out a solution. How do they ensure they all go free?




Similar Riddles

James bond was pushed out of an aeroplane without any parachute.
He survived, How come?

Asked by Neha on 28 Sep 2024


There is a place where if I stand up straight, I will still be considered sideways.

Asked by Neha on 05 May 2025

One night, Louis and Adam were sitting together. Adam was watching a movie while his wife Louis was reading a mystery book. Suddenly the power went out and Adam decided to go to bed, but strangely Louis kept on reading. There was no artificial light around, so Louis kept on reading. How come?

Asked by Neha on 04 Jun 2026


Sherlock Holmes was challenged to make a pre-drawn line smaller without erasing it. He did it in fractions of seconds. How?

Asked by Neha on 12 Apr 2023

When can we add 2 to 11 and get 1 as the correct answer?

Asked by Neha on 16 Oct 2023

If all the below statements are true

1. Gianni was either in Italy or France in 1997.
2. If Gianni did not kill Versace, Hilton must have killed him.
3. If Versace died of suffocation, then either Gianni killed him or Versace committed suicide.
4. If Gianni was in Italy in 1997, then Gianni did not kill Versace.
5. Versace died of suffocation, but he did not kill himself.

Who killed Versace and where was Gianni in 1997?

Asked by Neha on 11 Jan 2024


If you paint a brown house white it will become a white house. If the stoplight changes from red to green, then the light is green. So, if you throw a white shirt into the Red Sea, what will it become?

Asked by Neha on 07 Jun 2025

A thief is convicted in Mexico. He gets the death penalty. The judge allows him to say the last sentence to determine how the penalty will be carried out. If the thief lies, he will be hanged, if he speaks the truth he will be beheaded. The thief tells the last sentence and to everybody's surprise some minutes later he is set free because the judge cannot determine his penalty. What did the thief say?

Asked by Neha on 07 Sep 2024

Name a key which is hardest to turn.

Asked by Neha on 28 Apr 2024


What Deficiency does the below rebus represent?

VIT_MIN

Asked by Neha on 09 Jun 2024

Hot Articles

Amazing Facts

Out of the Box

The phrase “thinking outside the box” was popularised from the solution to a topographical puzzle involving 9 dots in a box shape.