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

A pond had 60 fish, out of which, all but 20 died.
How many fishes are now present in that pond?

Asked by Neha on 14 Jul 2024


Which country gets ill every time?

Asked by Neha on 14 Feb 2025

What makes this number unique: 8,549,176,320?

Asked by Neha on 08 Jul 2025


How many words can a pen with half refill write?

Asked by Neha on 03 Feb 2025

In the figure that has been attached to this question, each digit represents a digit. The similar letters carry the same integer value. Can you expose the original digits?

Number The Puzzle

Asked by Neha on 06 Mar 2026

John was running from 40 thieves. John has got 3 gold boxes which weigh as 4kg, 2kg, and 1kg respectively. A witty man asked John to stay with him for seven days in exchange for 1kg gold per day. John needs to stay there for seven days and also do not want to give the witty man any advance. How can John pay for his seven days stay?

Asked by Neha on 14 Jul 2023


I am a seven-letter word but if you remove four of my letters I will have one left. What word am I?

Asked by Neha on 02 Jun 2024

You Throw The Outside, Cook The Inside
Eat The Outside, Throw The Inside.

What Is It?

Asked by Neha on 27 Jun 2023

A new clothing store has a unique method of pricing items. A vest costs $20, a tie costs $15, a blouse costs $30, and underwear costs $45. How much would pants cost?

Asked by Neha on 22 Oct 2025


I am a word that begins with the letter “i.” If you add the letter “a” to me, I become a new word with a different meaning, but that sounds exactly the same. What word am I?

Asked by Neha on 19 Mar 2025

Hot Articles

Amazing Facts

Word ladder puzzle

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