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

I was born in a small house and I live in it all alone. No windows and no doors have been assigned to my house. The only way I can go out is by breaking through the walls of my house.

Who am I?

Asked by Neha on 22 Jan 2026


John named his first son Alpha, second Beta, third Charlie and fourth Delta. What is the fifth son's name?

Asked by Neha on 03 Aug 2024

It is deaf, Dumb and Blind!!!

Still, always tells the truth. What is it?

Asked by Neha on 06 Feb 2024


What has 88 keys?

Asked by Neha on 09 Jul 2025

Replace the question mark in the picture below.

Fill the Required Number Puzzle

Asked by Neha on 07 Jan 2026

This is a famous paradox which has caused a great deal of argument and disbelief from many who cannot accept the correct answer. Four balls are placed in a hat. One is white, one is blue and the other two are red. The bag is shaken and someone draws two balls from the hat. He looks at the two balls and announces that at least one of them is red. What are the chances that the other ball he has drawn out is also red?

Asked by Neha on 17 Oct 2024


You can win me and lose me but never buy me
You can not eat me and never want to part with me
I can make you cry or bring you joy
I am not a machine and definitely not a toy
You keep me but i am not forever just yours
You might find me in a case or on a shelf next to a vase
I am hard and i am tall if you bump me i am sure to fall
I am made of different materials and am at many events
If your lucky and fight hard I might be yours
What am I ?

Asked by Neha on 11 May 2021

what's the probability of getting a king or a queen from a pack of 52 cards?

Asked by Neha on 27 Sep 2024

If a wheel has 54 spokes, how many spaces are there between the spokes?

Asked by Neha on 27 Sep 2021


81 x 9 = 801. What must you do to make the this equation true?

Asked by Neha on 03 Oct 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.