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

Can you calculate the probability of getting a sum of six when a dice is thrown twice?

Asked by Neha on 11 Feb 2021


Move three sticks of the spiral below to form a square.

Spiral to Square Puzzle

Asked by Neha on 15 Nov 2025

I purchased an awesome ice cream cone having 5 different flavour scoops.
Five flavours are pistachio, mint-chip, strawberry, marshmallow, and raspberry

I will give u some clues so that you can figure out the order of flavours from bottom to top.
1. The bottom flavour of the cone has 10 letters.
2. The marshmallow scoop is between the pistachio and the mint-chip scoop.
3. marshmallow is the raspberry scoop but below the mint-chip scoop.

So can you figure out the flavour of ice cream in order from bottom to top?

Asked by Neha on 21 Jul 2023


I am eight letters long - "12345678"
My 1234 is an atmospheric condition.
My 34567 supports a plant.
My 4567 is too appropriate.
My 45 is a friendly thank-you.
My 678 is a man's name.

What word am I?

Asked by Neha on 02 Dec 2024

How do you go from 98 to 720 using just one letter?

Asked by Neha on 08 Oct 2021

Count the number of triangles in the picture below:

Counting You Should Know

Asked by Neha on 16 Jul 2024


John and his wife were living in a rural place. On a particular day, John's wife fell ill and he called the local doctor. When the doctor picked up, he said, "Doctor, my wife is ill. She might have appendicitis."

"This can't be possible! I took out her appendix two years ago myself," the doctor explained.

When diagnosed, John's wife was found to have appendicitis. How can this be possible?

Asked by Neha on 19 Jun 2024

In a rainy season, one day 3 huge ladies walked under a normal-sized umbrella.
The umbrella is not huge enough to accommodate all 3 ladies yet not a single lady got wet. Why?

Asked by Neha on 19 May 2024

What time is it when an elephant sits on a fence?

Asked by Neha on 10 Jul 2025


You’re out on the water and see a boat filled with people. You look away for a second and look back again, but this time you don’t see a single person on the boat. Why? Hint: The boat did not sink.

Asked by Neha on 15 Jun 2025

Hot Articles

Amazing Facts

Gamers

In 2011, people playing Foldit, an online puzzle game about protein folding, resolved the structure of an enzyme that causes an Aids-like disease in monkeys. Researchers had been working on the problem for 13 years. The gamers solved it in three weeks.