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

What is the fastest way to double your money?

Asked by Neha on 12 Feb 2023


A mathematician couple was having a Frappuccino in Starbucks sitting opposite to each other. Suddenly the guy noticed the text written on the paper in front of them and exclaimed that it was wrong. The girl denied it and said it is appropriate. Both are correct. What is written on the paper?

Asked by Neha on 11 Jul 2023

A man has to get a fox, a chicken, and a sack of corn across a river.

He has a rowboat, and it can only carry him and one other thing.
If the fox and the chicken are left together, the fox will eat the chicken.
If the chicken and the corn are left together, the chicken will eat the corn.

How does the man do it?

Asked by Neha on 04 May 2021


If all Goats are Sheep and all Sheep are Deers, are all Deers Goats ?

Asked by Neha on 16 Jan 2021

Below, you can see three complete equations and one incomplete. Based on the three complete ones, can you complete the incomplete one?

5 $ 4 $ 3 $ 9 = 4215
6 $ 9 $ 2 $ 6 = 3816
4 $ 7 $ 3 $ 3 = 1122
7 $ 2 $ 7 $ 4 = ____

Asked by Neha on 10 Dec 2025

Place a mathematical symbol between the numerals 5 and 9 in such a way that the resulting number is greater than 5 but smaller than 9.

Asked by Neha on 30 Jul 2021


What do you answer even though it never asks you questions?

Asked by Neha on 12 Oct 2021

A cricket has 6 legs, a squirrel has 4 legs and a spider has 8 legs.

In a local zoo, it was found that the total number of legs is 612. Also, there are equal number of each of the above animals/insects.

Can you find out how many animals are there in the zoo?

Asked by Neha on 06 Feb 2021

There’s a girl who has a large family. She has an equal amount of brothers and sisters, but each brother only has half as many brothers and sisters. What’s the correct amount of brothers and sisters?

Asked by Neha on 05 Jun 2025


There are three boxes on a table. One of the box contains Gold and the other two are empty. A printed message contains in each box. One of the message is true and the other two are lies.

The first box says "The Gold is not here".

The Second box says "The Gold is not here".

The Third box says "The Gold is in the Second box".

Which box has the Gold?

Asked by Neha on 07 Feb 2021

Hot Articles

Amazing Facts

Crossword puzzles

In the 1920s, people feared that crossword puzzles would contribute to illiteracy.