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 patient was diagnosed with some ailment. He was given five different tablets to take at night at an interval of 15 minutes.

How long will it take the patient to consume all the five tablets?

Asked by Neha on 02 Jul 2024


Eight of us go fourth, not back, to protect our king from an attack. What are we?

Asked by Neha on 17 Apr 2022

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

Asked by Neha on 27 Sep 2024


What has one eye, but can’t see?

Asked by Neha on 16 Jul 2025

What has a ring but no finger?

Asked by Neha on 13 Apr 2024

How many people must be gathered together in a room, before you can be certain that there is a greater than 50/50 chance that at least two of them have the same birthday?

Asked by Neha on 16 Dec 2023


Next Number in the Series,

5, 16, 49, 104, ?

Asked by Neha on 31 Dec 2025

A few friends are enjoying their sea voyage in a boat full of apples. On the way, they felt hungry and thus decided to eat the apples. Together, they ate two dozen of apples. When they have eaten the apples, will there be any change in the water level?

Asked by Neha on 06 May 2021

Identify Me

Hint1: I am a god
Hint 2: I am a planet
Hint 3: measurer of heat

Asked by Neha on 25 Sep 2025


One of the leprechaun is missing if you see the two pictures attached to this question. Where did he go? When he comes back, do you know where has he been?

Leprechaun Puzzle

Asked by Neha on 26 Apr 2026

Hot Articles

Amazing Facts

Crossword puzzles

In the 1920s, people feared that crossword puzzles would contribute to illiteracy.