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

P is the father of Q and S is the son of R. T is the brother of P and has a daughter U. If R is the sister of P, then what is the relation between U, Q and S?

Who is Who

Asked by Neha on 16 Mar 2021


Replace the question mark with the correct number in below Picture:

Replace the Number

Asked by Neha on 30 May 2021

On the dull night when the blonde was dozing, she heard an odd clamour and she saw that there was a bizarre man with a gun simply outside her home. So she raced to the telephone to call the police, however, she can't dial 911. Why?

Asked by Neha on 09 Oct 2024


Kohli and Dhoni decided to have a paintball match.
Kohli told Dhoni, "Sir it is not right as you got thrice the paintballs I have".

Dhoni instantly gives Kohli 10 hit paintballs.
Kohli replied, "Sir, I believe you still have twice the paintballs than I have".

Dhoni gives "?" more paintballs to Kohli.
Kohli replied, "Sir it is even now, Let us have a match".

What is "?".

Asked by Neha on 02 Mar 2026

An express train takes 3 seconds to enter the tunnel which is 1 km long.
If it is travelling at 120 km an hour, how long will it take to pass completely through the tunnel?

Asked by Neha on 26 Nov 2023

I am quite hot but become too cold if you remove the first two letters. What am I?

Asked by Neha on 24 May 2023


Which English verb becomes past tense just by rearranging the letters?

Asked by Neha on 07 Sep 2025

Count the number of triangles in the picture below:

Counting You Should Know

Asked by Neha on 16 Jul 2024

How is the moon similar to a dollar?

Asked by Neha on 26 Sep 2023


John went to meet his friend Jacob, but when he was about to reach the main gate, John notices that Jacob had a mighty dog who was fastened to the tree. The chain is long enough that it allows the dog to reach the main gate.

How can the John reach the main gate?

Dog and Visitor Riddle

Asked by Neha on 06 Apr 2021

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.