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 boy and his father are caught in a traffic accident, and the father dies. Immediately the boy is rushed to a hospital, suffering from injuries. But the attending surgeon at the hospital, upon seeing the boy, says 'I cannot operate. This boy is my son.' How is this situation explained?

Asked by Neha on 20 Dec 2024


While going to your grandmother's house, you counted Twenty houses on the right side. While returning back to your home, you counted Twenty houses on the left side.

How many houses are there between your home and your grandmother's home?

Asked by Neha on 20 Feb 2024

Only one colour, but not one size,
Stuck at the bottom, yet easily flies.
Present in sun, but not in rain,
Doing no harm, and feeling no pain.
What is it?

Asked by Neha on 17 May 2021


If 21x = 79x, what is the value of x?

Asked by Neha on 19 Oct 2023

Two old friends, Jack and Bill, meet after a long time.

Three kids
Jack: Hey, how are you, man?
Bill: Not bad, got married and I have three kids now.
Jack: That's awesome. How old are they?
Bill: The product of their ages is 72 and the sum of their ages is the same as your birth date.
Jack: Cool..But I still don't know.
Bill: My eldest kid just started taking piano lessons.
Jack: Oh, now I get it.

How old are Bill's kids?

Asked by Neha on 21 Apr 2021

The first person saw the bridge step on it and crossed,
the second person saw the bridge did not step on it but crossed,
the third person did not see the bridge did not step on it but crossed.
Who are these people?

Asked by Neha on 14 May 2021


You are playing as white and given four rooks to checkmate the black king in four moves with the following rules 1. You can place one rook every move and ensure the black king should be in check position.2. After four moves the black king should be in the checkmate position.

King Rooks Riddle

Asked by Neha on 21 Apr 2026

Look at the below sequence of letters and tell us what the next letter should be:

O T T F F S S ?

Asked by Neha on 02 Jan 2024

Why is 6 afraid of 7?

Asked by Neha on 28 Oct 2024


What mathematical symbol can be put between 5 and 9, to get a number bigger than 5 and smaller than 9?

Asked by Neha on 20 Sep 2021

Hot Articles

Amazing Facts

Crossword puzzles

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