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 have 50 feet long of cloth, I need to create 50 handkerchiefs each size of 1 foot. I take one minute to cut a 1-foot handkerchief. So how long will it take to cut 50 handkerchiefs?

Asked by Neha on 05 Sep 2024


Two fathers and two sons decided to go to a shop and buy some sweets upon reaching. Each of them bought 1 kg of sweet. All of them returned home after some time and found out that they had 3kg of sweets with them.

They did not eat the sweets in the way, nor threw or lose anything. Then, how can this be possible?

Asked by Neha on 01 Jun 2024

You are mixing a mixture of cement and Sand with five gallons of water. You have a garden hose giving you all the water you need. The problem is that you only have a four-gallon bucket and a seven-gallon bucket and neither has graduation marks. Find a method to measure five gallons.

Asked by Neha on 13 Aug 2024


There are four 3-link chains. All you have to do is join them into a big 12-link chain. For joining two closed links, one of the links must be cut and placed onto the other link for closing.

How many minimum links will you have to cut to make the big chain?

Asked by Neha on 27 Sep 2023

I am under you when I am whole.
I shift above you if you remove the first letter.
I come all around you if you remove the second as well.

Can you tell me who I am?

Asked by Neha on 28 Jun 2023

You need to arrange three 7 and mathematical symbols to form number 1?

Asked by Neha on 02 Jul 2021


John was working on a Chemical Mixture whose weight comprise 90% liquid and 10% solid. The total weight of the mixture is 20 pounds. After a while, John noticed that some of the liquid evaporated and now the liquid comprises just 50% of the weight.

What is the weight of the chemical mixture now?

Asked by Neha on 12 Feb 2024

Identify the hidden meaning behind this picture?

Picture Riddle

Asked by Neha on 17 Feb 2023

A Doctor always sneezes before the rain. Doctor sneezes, Will it rain?

Asked by Neha on 24 Jul 2024


What is black when you buy it, red when you use it, and gray when you throw it away?

Asked by Neha on 06 Jan 2021

Hot Articles

Amazing Facts

Word ladder puzzle

The word ladder puzzle was invented by Lewis Carroll, author of Alice’s Adventures in Wonderland.