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 find the next number in the below sequence
3 , 7 , 10 , 11 , 12 , 17 ?

Asked by Neha on 04 Mar 2025


What does man love more than life, hate more than death or mortal strife; That which contented men desire; the poor have, the rich require; the miser spends, the spendthrift saves, and all men carry to their graves?

Asked by Neha on 15 Mar 2025

2 ladies and 2 girls need to cross a river in a boat big enough for 1 LADY or 2 girls. How do they do it?

Asked by Neha on 13 Sep 2023


John is on an island and there are three crates of fruit that have washed up in front of him. One crate contains only apples. One crate contains only oranges. The other crate contains both apples and oranges.

Each crate is labelled. One reads 'apples', one reads 'oranges', and one reads 'apples and oranges'. He know that NONE of the crates have been labeled correctly - they are all wrong.

If he can only take out and look at just one of the pieces of fruit from just one of the crates, how can he label all of the crates correctly?

Asked by Neha on 07 Jan 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

A crime was committed at baker street. Ibrahim Dakota who was shot in the stomach was the main suspect. Sherlock questioned the suspect. The conversation started as:
Sherlock: What's your story, Ibrahim?
Ibrahim: I was walking around baker street and suddenly a man from the back shot me. I ran as fast as I could to save my life".
Sherlock: That is enough (and ask the police to arrest him).

Why does Sherlock think he is the murderer?

Asked by Neha on 25 Apr 2025


What is the end of everything?

Asked by Neha on 18 Jul 2025

Remove two matchsticks to make the below equation correct.

Make the Equation Correct

Asked by Neha on 23 Dec 2023

I am a five-letter word and comprises two different vowels and three same consonants. I am so strong that I can spoil your entire work.

Can you find out who am I?

Asked by Neha on 13 Dec 2024


What 5-letter word typed in all capital letters can be read the same upside down?

Asked by Neha on 20 Oct 2025

Hot Articles

Amazing Facts

Word ladder puzzle

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