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

When a clock is observed, the hour hand is at a minute mark and the minutes hand is six minutes ahead of it.

When the clock is observed again after some time, the hour hand is precisely on a different minute mark and the minute hand is seven minutes ahead of it.

Can you calculate how much time has elapsed between the two observations?

Asked by Neha on 07 Jul 2021


Seven Robbers robbed a bank and hide the coins in a lonely place.
They decide to divide the money equally the next morning. Two greedy robbers decided to cheat the others and reach the place at night. They equally divided the coins between them, one coin left. So they called another robber and then they decided to divide equally among the three. Sadly again one coin left. The same thing happened to the 4th 5th and the 6th robber.
However, when the 7th robber reached in the morning, they can divide the coins equally.

How many coins were there in total?

Asked by Neha on 29 Dec 2023

What can run but never walks, has a mouth but never talks, has a head but never weeps, has a bed but never sleeps?

Asked by Neha on 17 Mar 2025


I have a five and a three-gallon jar. Assuming there is an infinite supply of water, how can I measure one-gallon water?

Easy Gallon Riddle

Asked by Neha on 21 May 2021

How many people must be gathered together in a room, before you can be certain that there is a greater than 50/50 chance that at least two of them have the same birthday?

Asked by Neha on 16 Dec 2023

Replace the 'X' with any mathematical symbol to make the expression equal to 111.

18 X 12 X 2 X 3 = 111

Asked by Neha on 27 Jul 2024


French Police inspects a room where there are no windows, no doors, no tables and is almost empty expect there is just a puddle of water. They found a dead man who obviously hung herself from the ceiling, but they are not able to figure out how this had happened.

John and Jacob entered the crime scene and easily able to solve the case.

How did the man die?

Asked by Neha on 09 Sep 2021

While preparing the table for dinner, wife came up with an idea to tease his mathematician husband. She asked her husband to pick nine toothpicks and make ten without breaking any toothpick.

The husband was also smart and did it within seconds. How ?

Asked by Neha on 22 Dec 2020

When I get multiplied by any number, the sum of the figures in the product is always me. What am I?

Asked by Neha on 10 Oct 2021


Doctor Alex and a bus driver John are both in love with the same woman named Olivia. The bus driver need to go for a long trip of 10 days, Before he left he gave Olivia 10 apples.

Asked by Neha on 22 Aug 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.