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 person was killed at a house party. When the police arrive, there are six people present in the house who are the friends of the victim. The name of the friends is Rohit, Aman, Nick, Gagan, and Randy.

Near the dead body, they find a few numbers written with blood by the victim on the floor. The numbers are 8, 5, 4, and 11.

The police arrests one of the friends for the murder. Whom did they arrest and why?

Asked by Neha on 04 May 2023


There are five vowels (a, e, i, o, u) in the English language.
Can you tell us a word that contains all these vowels?

Asked by Neha on 20 Sep 2023

What word is represented by this rebus?

Mary Mary Rebus riddle

Asked by Neha on 29 Apr 2021


Two boys were admitted to a school. When the headmaster asks them about their parents, they tell him that they have same parents (father and mother). On further inquiry, it turns out that they both share the same date for their birthday.

"Are you twins," ask the headmaster.
"No," replies the boys.

Is it possible?

Asked by Neha on 22 Feb 2024

Two prisoners Jack and Jill are locked in a cell.
There is open window approx 40 feet above the ground of the cell.
They are never able to reach there.

Then they plan to escape by a tunnel and they start digging out.
After digging for more than 20 days, Jill comes with the different plan and they escaped.

what was the plan ?

Asked by Neha on 10 Aug 2021

Spot 5 differences in two Christmas tree below:

Christmas Tree

Asked by Neha on 06 Jul 2021


The person who makes it has no need for it. He who purchases it does not use it. The person who does use it does not know they are. What is it?

Asked by Neha on 16 Jun 2025

What does the below image rebus riddle means ?

Rebus Riddle

Asked by Neha on 04 Sep 2021

What is the Surname of Barbie Doll?

Asked by Neha on 25 Jul 2023


All Marigolds are flowers.
Few Flowers are used to make colors.
Therefore, some Marigold are used to make colors.

True Or False?

Asked by Neha on 24 Feb 2026

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.