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

If we add four times the age of John four years from now to five times his age five years from now we get ten times his current age.

How old will John be two years from now?

Asked by Neha on 19 Jan 2025


It spends most of its day eating white, but when it’s quick enough, it gets to eat fruit and sometimes some blue things. It’s in a dark room, where the walls are blue, it runs from a ghost that roams the halls and haunts it all the time. What is it?

Asked by Neha on 30 May 2025

When it is alive we sing, when it is dead we clap our hands. What is it?

Asked by Neha on 22 Aug 2025


On a special event at the prison, 5 prisoners John, Jacob, Krist, Tang, and Dang given a chance to go to a sauna and can bring one thing with them.

Following are the things that the prisoners bring with them.
John: A soda
Jacob: Thermos
Krist: Book named "How to kill"
Tang: A Walkman
Dang: Harmonica

Since it is a Sauna, no one can see each other. After a while When the steam is switched, Tang was found dead and there was blood all around.
J Bond was called and he instantly come to know who can be the murderer. How?

Asked by Neha on 07 Jul 2024

Two trains start at the same time, one from Bangalore to Mysore and the other from Mysore to Bangalore. if they arrive at their destinations one hour and four hours respectively after passing one another, how much faster is one train running than the other?

Asked by Neha on 19 Apr 2022

An octopus has 8 legs. A hippogriff has 6 legs and 2 pairs of wings. A sphinx has 6 legs and one pair of wings. Now we have all 3 kinds and a total of 18 insects in a cage. We have a total of 118 legs and 20 pairs of wings. How many insects do we have of each kind?

Asked by Neha on 13 Oct 2024


On a windy rainy night , I was driving in my car.
When i reach the bus stand , i see three people waiting for the bus.

1. An old lady who needs an immediate medical attention
2. My Best Friend
3. Girl whom i love from childhood

My car is a two seat, so can you tell me , what i have done in this situation ?

Asked by Neha on 14 Feb 2023

They are the five precious gems of an everyday sort and all can be found on a Tennis Court. Who are they?

Asked by Neha on 21 Apr 2024

A hen, a dog, and a cat are stolen. Three suspects are arrested named Robin, Steve, and Tim. The police are sure that all of them stole one of the animals but they don't know who stole which animal.

Sherlock Holmes is appointed to identify and is provided with the following statements from the investigation.

Robin - Tim stole the hen
Steve - Tim stole the dog
Tim - Both Robin and Steve are lying. I neither stole a hen nor a dog.

Sherlock is somehow able to deduce that the man who stole the cat is telling a lie and the man who stole the hen is telling truth.

Can you help him find out who stole which animal?

Asked by Neha on 22 Jun 2024


A sea diver is a real show-off. He showed everyone that he can hold his breath underwater for 15 minutes.

I went to the diver and told him that I can be underwater for double the time i.e 30 minutes.
He responded that he will give me 100$ if I would be able to do it. I won 100$.

What did I do?

Asked by Neha on 06 Mar 2025

Hot Articles

Amazing Facts

Rubik’s Cube

The inventor of the Rubik’s Cube didn’t realize he’d built a puzzle until he scrambled it the first time and tried to restore it.