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

The answer I give is yes, but what I mean is no. What was the question?

Asked by Neha on 04 Sep 2025


Can you find a five letter word that is left with only two letters if one is removed?

Asked by Neha on 20 Jul 2021

Bobby and Wilbur decided to take their respective car out of the garage and race. None of them cheated and they both stood at the start time and decided to cover a distance in full throttle. The first to reach the mark was to be declared the winner.

Upon reaching the finishing mark, they found out that Bobby's car was 1.2 times faster than Wilbur's. Now, Wilbur had reached the mark about 1 minute and 30 seconds later than Bobby. Bobby's car reached the mark of 60 MPH on average.

Can you calculate the distance between the starting mark and the final mark with the help of the given data?

Asked by Neha on 08 Mar 2026


Decode below rebus
D
N
A
T
S , D

Asked by Neha on 14 May 2021

You want to boil a two-minute egg. If you only have a three-minute timer (hourglass), a four-minute timer and a five-minute timer, how can you boil the egg for only two minutes?

Asked by Neha on 17 May 2021

There is so small cabin inside a deep forest.
All the forest burned out to worst possible but the inside of the cabin is still the same.
However all the person inside the cabin die.

How come ?

Asked by Neha on 15 Sep 2024


The chance of Mr John winning the lottery is 10%. All participants lined up and Mr John is 4th in the row. The first three participants lose the lottery.

What is the chance of Mr John now?

Asked by Neha on 09 Aug 2023

A man is approaching a broad and barren land. He has a package with him. If somehow, he is unable to open the package before reaching the land, he will die.

Can you guess what is present in the package?

Asked by Neha on 17 May 2025

Which fur should we be getting from the Lion?

Asked by Neha on 10 Feb 2021


A thief enters a store and threatens the clerk, forcing her to open the safe. The clerk says, “The code for the safe is different every day, and if you hurt me you’ll never get the code.” But the thief manages to guess the code on his own. How did he do it?

Asked by Neha on 14 Jun 2025

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.