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

A man and his wife were doing missionary work near the city of Nairobi in the country of Kenya in eastern Africa. Their housing had not yet been completed, so the man, the woman, and their six year old daughter were spending a few nights in the jungle in three small pup tents. During their third night there, the woman was awakened by the call of a hyena passing by, so she got out of her tent to see if her young daughter had been frightened by the noise. As she peered into her daughter's tent she was surprised to see the dark figures of lion, a panther, and a cheetah which were curled up next to her daughter. Seeing her daughter was asleep and unharmed, the woman slowly and quietly withdrew from the tent, and simply returned to her own tent and went back to bed. How could this child's mother leave her daughter in such a dangerous situation, and simply ignore what she had just witnessed without intervening in some way? How can such emotional coldness ever be explained; or is there something here we are missing?

Asked by Neha on 04 Apr 2022


You can find some missing letters in the picture. By placing two particular letters in the spaces, you can form a nine lettered word beginning from one of the corners and going clockwise direction to the middle. Can you find out the letters and the word?

Make the Word

Asked by Neha on 06 Oct 2023

At my favorite fruit stand,
an orange costs 18,
a pineapple costs 27,
and a grape costs 15.
Using the same logic, can you tell how much a mango costs?

Asked by Neha on 13 May 2023


Find three numbers such that When we multiply three numbers, we will get the prime numbers. The difference between the second and the first number is equal to the third and second.

Asked by Neha on 20 Apr 2025

Which of the below owl is odd one out?

Find the odd

Asked by Neha on 22 May 2021

On her drawing table, Sayna lit 12 coloured candles. A few seconds later she blew two candles off.

How many candles Sayna have at the end?

Light the Candles

Asked by Neha on 07 Mar 2021


If we tie a Sheep to one peg, a circled grass is been eaten by the Sheep. If we tie the Sheep to two pegs with a circle on its neck, then an eclipse is eaten out of the grass by the Sheep. If we want an eclipse then we put two pegs and then put a rope in between them and the other end of the rope is tied up on the Sheep's neck.

How should we tie the peg and the Sheep so that a square is eaten out from the garden grass? We only have one Sheep rope and the peg and the rings.

Asked by Neha on 18 Oct 2025

A solo dice game is played. In this game, upon each turn, a normal pair of dice is rolled and the score is calculated not by adding the numbers but multiplying them.

In a particular game, the score for the second roll is five more than what was achieved in the first roll. The score for the third roll is six less than what was completed in the second roll. The score for the fourth roll is eleven more than what was achieved in the third. The score for the fifth roll is eight less than what was completed in the fourth.

Can you calculate the score for each of the five throws?

Asked by Neha on 04 Jun 2024

If you drop me I’m sure to crack, but give me a smile and I’ll always smile back. What am I?

Asked by Neha on 07 Mar 2025


The first person saw the bridge step on it and crossed,
the second person saw the bridge did not step on it but crossed,
the third person did not see the bridge did not step on it but crossed.
Who are these people?

Asked by Neha on 14 May 2021

Hot Articles

Amazing Facts

Gambling

In Canada, a mathematical puzzle must be solved in order to win the lottery to classify it as a “game of skill” not gambling.