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

As you can see that fifteen matches have been used to form an arrangement. What you have to do is remove any six of them to make them ten.

Make the Word TEN

Asked by Neha on 14 May 2021


2 ladies and 2 girls need to cross a river in a boat big enough for 1 LADY or 2 girls. How do they do it?

Asked by Neha on 13 Sep 2023

How many times can you subtract the number two from the number fifty?

Asked by Neha on 12 Mar 2022


Two in a corner, one in a room, zero in a house, but one in a shelter. What am I?

Asked by Neha on 23 Jul 2025

What has a bottom at the top?

Asked by Neha on 20 Jul 2025

Akbar summoned Birbal out of anger.
He told him that he will have to face death.
He asked him to make a statement and if the statement is true he will be buried alive and if the statement is false, he will be thrown at lions.
After hearing Birbal’s statement, Akbar could do nothing but smile.
He gave him 5 gold bars and let him go.

What did Birbal say?

Asked by Neha on 17 May 2021


The ages of a father and son add up to 66.
The father's age is the son's age reversed.
How old could they be?
(3 possible solutions).

Asked by Neha on 17 May 2021

John and Jenni are a married couple. They have two kids, one of them is a girl. Assume safely that the probability of each gender is 1/2.
What is the probability that the other kid is also a girl?

Hint: It is not 1/2 as you would first think.

Asked by Neha on 14 Jun 2024

In 1990, a person is 15 years old. In 1995, that same person is 10 years old. How can this be?

Asked by Neha on 06 Jul 2025


A non-stop marathon is the shared favourite sport of three brothers.

*The oldest one is fat and short and trudges slowly on.
*The middle brother's tall and slim and keeps a steady pace.
*The youngest runs just like the wind, speeding through the race.

"He is young in years, we let him run!" the other two brothers explained, "'because though he is surely number one, he is second, in a way." Why is it?

Asked by Neha on 03 Apr 2024

Hot Articles

Amazing Facts

Word ladder puzzle

The word ladder puzzle was invented by Lewis Carroll, author of Alice’s Adventures in Wonderland.