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

In front of you, there are 9 coins. They all look absolutely identical, but one of the coins is fake. However, you know that the fake coin is lighter than the rest, and in front of you is a balance scale. What is the least number of weightings you can use to find the counterfeit coin?

Asked by Neha on 20 Nov 2025


John said, "If yesterday was tomorrow, today would be Friday."

When did John make this statement?

Asked by Neha on 09 Apr 2025

Below the four parts have been reorganised. The four partitions are exactly the same in both arrangements. Why is there a hole?

Missing Piece Riddle

Asked by Neha on 03 Apr 2021


If nine thousand, nine hundred nine dollars is written as $9,909,
how should twelve thousand, twelve hundred twelve dollars be written?

Asked by Neha on 24 Sep 2023

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

Can you replace the question mark with the correct number?

Fill in the Question Marked Space

Asked by Neha on 09 Mar 2024


What have one eye but still cannot see?

Asked by Neha on 27 Dec 2025

I’m light as a feather, yet the strongest person can’t hold me for five minutes. What am I?

Asked by Neha on 15 Feb 2022

A man escapes from jail using help from his girlfriend. The investigators suspect four girls of being the man's girlfriend.

Out of those four girls, one is his girlfriend who is lying. Two of the girls are completely innocent and are speaking the truth. One of the girls is the man's sister who is helping the girlfriend lie. Following are the statements from all four of them:

Ariana: "Myrna is his girlfriend."
Jane: "Angelina is lying."
Angelina: "Ariana is lying."
Myrna: "Jane is not his sister."

Can you find out who is the man's sister among them?

Asked by Neha on 27 Mar 2026


There are 20 people in an empty, square room. Each person has full sight of the entire room and everyone in it without turning his head or body, or moving in any way (other than the eyes). Where can you place an apple so that all but one person can see it?

Asked by Neha on 08 Apr 2022

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.