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

How can you leave a room with two legs and return with six legs?

Asked by Neha on 14 May 2021


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

Can you find out the remainder when 3^300 is divided by 5?

Asked by Neha on 31 Oct 2023


Twice ten are six of us,

Six are but three of us,

Nine are but four of us;

What can we possibly be?

Would you know more of us?

Twelve are but six of us,

Five are but four, do you see?

What are we?

Asked by Neha on 26 Dec 2020

We have shown you a regular water barrel as below. Without using any measuring device can you check if the barrel is more than half-filled or less than half-filled?

Half Filled barrel

Asked by Neha on 10 May 2023

I am beautiful, up in the sky. I am magical, yet I cannot fly. To people I bring luck, and to some people, riches. The boy at my end does whatever he wishes. What am I?

Asked by Neha on 27 May 2025


First, think of the colour of clouds. Next think the colour of snow. Last, think of the colour of the moon. Now, what do cows drink?

Asked by Neha on 28 Apr 2022

I travel all around the world but always stay in the corner. What am I?

Asked by Neha on 09 Mar 2022

John and Jenni are a married couple. They have two kids, one of them is a girl. Assume safely that the probability of each gender is 1/2.
What is the probability that the other kid is also a girl?

Hint: It is not 1/2 as you would first think.

Asked by Neha on 14 Jun 2024


It is deaf, Dumb and Blind!!!

Still, always tells the truth. What is it?

Asked by Neha on 06 Feb 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.