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 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


"That Restaurant always remains crowded. This is the reason why nobody goes there".

Can you find a flaw in this statement?

Asked by Neha on 06 Apr 2024

Can you make four (4) nines (9) equal 100?

Asked by Neha on 16 Jul 2023


Begin with a word, five letters to my name,
Remove the first and last but I am the same
Take out my middle and still, I remain.
What word am I?

Asked by Neha on 25 Jan 2025

There is a certain crime, that if it is attempted, is punishable, but if it is committed, is not punishable. What is the crime?

Asked by Neha on 19 Jun 2026

What runs around the whole yard without moving?

Asked by Neha on 14 May 2021


Out of the nine cats that you can see in the picture, there are only two that are completely identical. Can you find them out?

Identical Cats Riddle

Asked by Neha on 29 Jun 2026

Make eight squares by moving only two matchsticks.
Note- Square can be of different sizes.

Make the Square

Asked by Neha on 12 Apr 2021

How far can you walk into the woods?

Asked by Neha on 21 Jul 2025


Find the mistake in the below maths equations

A = 2
A(A-1) = 2(A-1)
A2-A = 2A-2
A2-2A = A-2
A(A-2) = A-2
A = 1

Asked by Neha on 15 Oct 2024

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.