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 clock loses 10 minutes each hour. If the clock is set correctly at noon, what time is it when it reads 3 PM?

Asked by Neha on 26 Apr 2025


Find the missing number in the sequence below:

Find the missing number

Asked by Neha on 03 Sep 2021

who is silent in the parliament?

Asked by Neha on 29 Apr 2024


This is a classy optical illusion puzzle. What more you can find except bricks in the image below?

Brick Optical Illusion

Asked by Neha on 05 Jan 2025

What's the only room from which no one can enter or leave

Asked by Neha on 15 Apr 2024

How many triangles are there on the puzzle below?

Let

Asked by Neha on 10 Feb 2024


When is the top of a mountain similar to a savings account?

Asked by Neha on 18 Aug 2025

500 women soldiers are arranged in an array of ten rows and fifty columns in accordance with their respective heights. Now, the tallest woman from each row is asked to move out in the front. From them, the shortest one is labelled as Alpha. They are then asked to resume their original position.

Now, the shortest woman in each column is asked to come out in front. The tallest among them is labelled as Beta.

Can you find out if Alpha will be taller or Beta?

Asked by Neha on 16 Sep 2025

Can you name three consecutive days without using the words Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, or Sunday?

Asked by Neha on 24 Mar 2022


Before Mount Everest was discovered, what was the highest mountain in the world?

Asked by Neha on 04 Aug 2021

Hot Articles

Amazing Facts

Rubik’s Cube

The inventor of the Rubik’s Cube didn’t realize he’d built a puzzle until he scrambled it the first time and tried to restore it.