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 number comes next in this sequence:
7 8 5 5 3 4 4 _

Asked by Neha on 06 Aug 2024


A king sentenced a man to the death sentence for some crime he had committed. Known for his kindness, the king told the culprit that he had a choice to die in a way he decides.

The culprit was clever and said something that saved him from death. What method do you think he must have chosen for his death?

Asked by Neha on 17 Oct 2025

In the given figure, move three matchsticks so that the resulting figure contains two rectangles.

Matchsticks Rectangles

Asked by Neha on 25 Jul 2024


You have two buckets of 11 liters and 6 litres.
How can you measure exactly 8 litres?

Asked by Neha on 17 Jan 2025

Eight Chelsea player makes the following statements :

1. Seven of us are lying here.
2. Six of us are lying here.
3. Five of us are lying here.
4. Five of us are lying here.
5. Four of us are lying here.
6. Three of us are lying here.
7. My name is Torres.
8. My name is Lampard.

The last two are Lampard and Torres or maybe Torres and Lampard.
So can you deduce which of the last two is Lampard or Torres?

Asked by Neha on 14 Oct 2024

John was gifted a new Hayabusa. He drove x miles at 55mph. Then he drove x+20 miles at 40mps. He drove his bike for 100 minutes. How much distance did he travel?

Asked by Neha on 31 Mar 2026


If I put in one bird per cage, I have one bird too many. If I put in two bird per cage, I have one cage too many. How many cages and birds do I have?

Asked by Neha on 25 Apr 2024

I am a three digit number.
My tens digit is five more than my ones digit.
My hundreds digit is eight less than my tens digit.
What number am I?

Asked by Neha on 17 May 2021

By what process could you make a 'Tea-Table' into food?

Asked by Neha on 16 Aug 2023


Can you find the odd number in the following?

2716, 4135, 5321 and 7145

Asked by Neha on 30 Mar 2023

Hot Articles

Amazing Facts

Word ladder puzzle

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