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

Can you decipher the below rebus?

PBLUESAISNUERSES

Asked by Neha on 10 Aug 2023


Move four matchsticks to the below square to form three squares?

Matchsticks Square

Asked by Neha on 09 Oct 2023

Move three sticks of the spiral below to form a square.

Spiral to Square Puzzle

Asked by Neha on 15 Nov 2025


There once were seven dwarfs who were all brothers. They were all born two years apart. The youngest dwarf is seven years old. How old is his oldest brother?

Asked by Neha on 13 Jun 2025

A man was found murdered on Sunday morning. His wife immediately called the police. The police questioned the wife and staff and got these alibis: The Wife said she was sleeping. The Cook was cooking breakfast. The Gardener was picking vegetables. The Maid was getting the mail. The Butler was cleaning the closet. The police instantly arrested the murderer. Who did it and how did they know?

Asked by Neha on 17 May 2021

Be active and find the killer in the picture Riddle below.


Who is Killer

Asked by Neha on 17 May 2021


Use only one mathematical symbol and all numbers (0-9) to get a sum of 99

Asked by Neha on 07 Feb 2025

Three fair coins are tossed in the air and they land with heads up. Can you calculate the chances that when they are tossed again, two coins will again land with heads up?

Asked by Neha on 28 Mar 2024

How can you spell "White of an egg" in one word?
Hint: I know you can spell coke, poke, and joke.

Asked by Neha on 14 Apr 2025


My thunder comes before the lightning; my lightning comes before clouds; my rain dries all the land it touches. What am I?

Asked by Neha on 10 Sep 2025

Hot Articles

Amazing Facts

Crossword

The day before the 1996 U.S. presidential election, the NYT Crossword contained the clue “Lead story in tomorrow’s newspaper,” the puzzle was built so that both electoral outcomes were correct answers, requiring 7 other clues to have dual responses.