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

What will you call your mother's brother's brother-in-law?

Asked by Neha on 15 Jul 2024


All of Jacob's shoes are red except two.
All of Jacob's shoes are green except two.
All of Jacob's shoes are yellow except two.

How many shoes does Jacob have?

Asked by Neha on 15 Feb 2025

Can you spot the hidden girl in the picture below?

Spot the Girl

Asked by Neha on 06 Feb 2025


Once upon a time, there was a castle on a square island. The entire island was surrounded by a 14m wide trench. The Romans had wanted to invade the castle and had brought a few wooden planks along with them to facilitate themselves in crossing the moat. The planks were however found to be only 13m long.

The Romans still managed to cross the trench. How did they do it?

Asked by Neha on 02 May 2023

Here is a mathematical expression that also secretly tells a movie name. What movie is that?

Guess Movie Name

Asked by Neha on 14 Feb 2021

What does this rebus puzzle means ?

Rebus Picture Problem

Asked by Neha on 18 Jul 2023


There's a day, that comes around once a year.
To celebrate the man, you hold dear.
He gave you life, love and will pick you up if you fall.
When it comes to guys like him, He's the best of all.
Who is he?

Asked by Neha on 14 May 2021

Replace the question mark with the correct number.

Replace the question mark

Asked by Neha on 09 May 2023

An American nightclub called 'The Coconut Grove' had a terrible fire in which over 400 people died. A simple design flaw in the building led to a high death toll. Subsequently, regulations were changed to ensure that all public buildings throughout the country eliminated this one detail, which proved deadly. What was it?

Asked by Neha on 05 Oct 2024


What is at the end of a rainbow?

Asked by Neha on 17 May 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.