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 can see it everyday, But cannot touch it at will. What is it?

Asked by Neha on 17 May 2021


what's the probability of getting a king or a queen from a pack of 52 cards?

Asked by Neha on 27 Sep 2024

Can you think of any three-dimensional shape that comprises of exactly two surfaces?

Asked by Neha on 27 Mar 2025


The peacock is a bird that does not lay eggs. How do they get baby peacocks?

Asked by Neha on 09 Dec 2023

I am eight letters long - "12345678"
My 1234 is an atmospheric condition.
My 34567 supports a plant.
My 4567 is too appropriate.
My 45 is a friendly thank-you.
My 678 is a man's name.

What word am I?

Asked by Neha on 02 Dec 2024

I speak without a mouth, and hear without ears. I have no-body, but I come alive with the wind. What am I?

Asked by Neha on 17 May 2021


Lifeless eyes on my smiling face and watch your child's sleeping place. In their dreams they hold me tight. What am I?

Asked by Neha on 17 Oct 2021

Cristina was born in 1888. She just had her 30th birthday today how did that happen?

Asked by Neha on 27 Feb 2024

He runs but never walks. Murmurs, but never talks. Has a bed, but never sleeps. And has a mouth, but never eats?

Asked by Neha on 24 Jul 2025


Find the missing number in the sequence below:

Find the missing number

Asked by Neha on 03 Sep 2021

Hot Articles

Amazing Facts

Crossword

The day before the 1996 U.S. presidential election, the NYT Crossword contained the clue “Lead story in tomorrow’s newspaper,” the puzzle was built so that both electoral outcomes were correct answers, requiring 7 other clues to have dual responses.