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

From a pack of 52 cards, I placed 4 cards on the table.

I will give you 4 clues about the cards:

Clue 1: Card on left cannot be greater than the card on the right.
Clue 2: Difference between the 1st card and 3rd card is 8.
Clue 3: There is no card of an ace.
Clue 4: There are no face cards (queen, king, jacks).
Clue 5: Difference between the 2nd card and 4th card is 7.

Identify four cards?

Asked by Neha on 24 Aug 2021


You along with your friend are standing in front of two houses. Each of those houses inhabits a family with two children.

Your friend tells you the below two facts:
1) On your left is a family that has a boy who likes accounts but the other child loves science.
2) On the right is a family with a seven-year-old boy and a newborn baby.

You ask him, "Does either of the family have a girl?"

To this, he replies, "I am not quite sure. But can you guess that? If you are right, I will give you $500."

Which family do you think is likely to have a girl?

Asked by Neha on 30 Nov 2024

There is an English word that can be used up to four times in a row without modifying the spelling and form a valid grammatical sentence.

Do you know what word is that?

Asked by Neha on 18 Aug 2024


Consider this: Arnold Schwarzenegger has a big one. Michael J. Fox has a small one. Prince doesn’t have one. The Pope has one but never uses it. Bill Clinton has one and uses it all the time. What is it?

Asked by Neha on 29 Jun 2025

When I got four, I have it none.
When I got two, I have it some.
When I got none, I have it all.

What is it?

Asked by Neha on 31 Aug 2024

The centre of the third figure is empty. What digit should fit inside?

Missing Digit Riddle

Asked by Neha on 24 Jan 2024


Here is a mathematical expression that also secretly tells a movie name. What movie is that?

Guess Movie Name

Asked by Neha on 14 Feb 2021

The great emperor Akbar once ruled India. He was well known for his intelligence. But along with that, he was known for the Nine Gems in his court. One of the nine gems was Birbal, a quick witted and extremely intelligent man. The stories of his wit were widely popular.

Once a king ruling in a distant land heard of Birbal. To check his wit, he sent an invitation and called him to visit his land. Akbar allowed Birbal to go and he took off on the journey.

Upon reaching that kings kingdom, he was welcomed with flowers. He was then escorted to the palace of the king. Upon entering the palace, Birbal found that there were six people sitting in front of him adorning the same robe. They were also lookalike and it was hard to judge who the real king was.

After a couple of minutes, Birbal approached one of them and bowed in front of him greeting him.

That was the real king. How did Birbal know who was the real king ?

Asked by Neha on 10 May 2021

Which flower has two lips?

Asked by Neha on 24 Apr 2024


I am an odd number. Take away a letter and I become even. What number am I?

Asked by Neha on 25 Feb 2022

Hot Articles

Amazing Facts

Word ladder puzzle

The word ladder puzzle was invented by Lewis Carroll, author of Alice’s Adventures in Wonderland.