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 boy was at a carnival and went to a booth where a man said to the boy, "If I write your exact weight on this piece of paper then you have to give me $50, but if I cannot, I will pay you $50." The boy looked around and saw no scale so he agrees, thinking no matter what the carny writes he'll just say he weighs more or less. In the end the boy ended up paying the man $50. How did the man win the bet?

Asked by Neha on 26 Jan 2023


A thief enters a store and threatens the clerk, forcing her to open the safe. The clerk says, “The code for the safe is different every day, and if you hurt me you’ll never get the code.” But the thief manages to guess the code on his own. How did he do it?

Asked by Neha on 14 Jun 2025

If you read clockwise, you can form a word by inserting three missing letters in the picture given below. Can you do it?

English Clockwise

Asked by Neha on 10 Sep 2023


What does this rebus puzzle mean?

Rebus Riddle

Asked by Neha on 15 Aug 2026

If Rajina's daughter is my daughter's mom, who am I to Rajina?

Asked by Neha on 11 Dec 2023

Decode the below four famous ciphers:

8P of the SS
1M of the E
1S of the SS
60M in 1H

Asked by Neha on 17 May 2021


The Judge knows that Alamgir was killed by his girlfriend Jasline, but the judge is unsure whether to punish her. Why?

Asked by Neha on 18 May 2025

Can you count the number of seconds in a year?

Clue: You need to bother about calculation.

Asked by Neha on 06 Oct 2024

A boy was at a carnival and went to a booth where a man said to the boy, "If I write your exact weight on this piece of paper then you have to give me $50, but if I cannot, I will pay you $50." The boy looked around and saw no scale so he agrees, thinking no matter what the carny writes he'll just say he weighs more or less. In the end the boy ended up paying the man $50. How did the man win the bet?

Asked by Neha on 07 Apr 2022


What's the next in the series?

H, Be, F, S, Mn, Kr, In, Gd, Tl, ?

Asked by Neha on 17 Oct 2023

Hot Articles

Amazing Facts

Jigsaw puzzles

Jigsaw puzzles soared in popularity during the great depression, as they provided a cheap, long-lasting, recyclable form of entertainment.