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

What occurs twice in a week, once in a year but never in a day?

Asked by Neha on 27 Dec 2020


A boy was at a carnival and went to a booth where a man said to the boy, "If I write your exact weight on this piece of paper then you have to give me $50, but if I cannot, I will pay you $50." The boy looked around and saw no scale so he agrees, thinking no matter what the carny writes he'll just say he weighs more or less. In the end the boy ended up paying the man $50. How did the man win the bet?

Asked by Neha on 26 Jan 2023

A woman lives in a skyscraper thirty-six floors high and is served by several elevators which stop at each floor going up and down. Each morning she leaves her apartment and goes to one of the elevators. Whichever one she takes is three times more likely to be going up than down. Why?

Asked by Neha on 01 Nov 2024


Can you solve this tricky maths equation problem by replacing it? mark with the correct symbol?

19834 -----: 187
15921 -----: 153
17561 -----: 139
13734 -----: ???

Asked by Neha on 28 May 2023

If all Goats are Sheep and all Sheep are Deers, are all Deers Goats ?

Asked by Neha on 16 Jan 2021

I’m orange, I wear a green hat and I sound like a parrot. What am I?

Asked by Neha on 26 Aug 2025


What is the largest number you can write with just 3 digits?

Asked by Neha on 18 Apr 2025

Twice ten are six of us,

Six are but three of us,

Nine are but four of us;

What can we possibly be?

Would you know more of us?

Twelve are but six of us,

Five are but four, do you see?

What are we?

Asked by Neha on 26 Dec 2020

If you remove one from eleven, it becomes ten. If you remove one from nine, it becomes ten.

How is this possible?

Asked by Neha on 25 Sep 2023


What is the word or phrase?

What is the phrase?

Asked by Neha on 04 Oct 2024

Hot Articles

Amazing Facts

Word ladder puzzle

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