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

You are a thief and you are being punished for your crime. People have tied your head down on a tree with a rope that has been anchored in the ground. A candle is burning below the rope which is slowly burning it away. Just below your head, a Lion has been left loose and is waiting for you to drop down on the ground so he can have you as his lunch.

You have to survive the scenario. How will you do it?

Asked by Neha on 17 Dec 2025


Chef Andrea has to light the kitchen stoves to open her restaurant for the day. There are three stoves in the kitchen: A glass stove, a brick stove, and a wood stove. She only has one match. Which does she light up first?

Asked by Neha on 24 Jun 2025

One evening there was a murder in the home of a married couple, their son and daughter. One of these four people murdered one of the others. One of the members of the family witnessed the crime.

The other one helped the murderer.

These are the things we know for sure:

1. The witness and the one who helped the murderer were not of the same sex.

2. The oldest person and the witness were not of the same sex.

3. The youngest person and the victim were not of the same sex.

4. The one who helped the murderer was older than the victim.

5. The father was the oldest member of the family.

6. The murderer was not the youngest member of the family.

Who was the murderer?

Asked by Neha on 20 Sep 2025


John was visiting his friend Jacob. He found out that his friend's wife had just killed a burglar in self-defense.
John asks Jacob about what happened and he told that "His wife was watching television when suddenly the bell rang. She thought that it is her husband Jacob but she found the burglar who attacked her instantly and she got so frightened that she killed the burglar immediately with the knife.
John asked the police to arrest his friend's wife. Why?

Asked by Neha on 10 Mar 2023

I have an apple tree , number of apple in this tree get doubles every week.

On 30th week , the tree gets completely filled with apples :-)



Can you tell me , on what week does my tree is half covered with apples ?

Asked by Neha on 28 Feb 2021

A man always keeps a spare tyre in his car. To make full use of all the five tyres, he changes the tyres in a manner that for a distance of 1, 00,000 km, each of them runs the same distance.

Can you calculate the distance travelled by each tyre on that journey?

Asked by Neha on 14 Sep 2023


What has many teeth, but cannot bite?

Asked by Neha on 15 Jul 2025

Speaking of rivers, a man calls his dog from the opposite side of the river. The dog crosses the river without getting wet, and without using a bridge or boat. How?

Asked by Neha on 16 Mar 2025

Why is it against the law for a man living in Delhi to be buried in Mumbai?

Asked by Neha on 20 Oct 2024


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

Hot Articles

Amazing Facts

Crossword puzzles

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