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

John’s parents have three sons: Snap, Crackle, and what’s the name of the third son?

Asked by Neha on 14 Feb 2022


Can you move 2 matchsticks to form four equal sized squares.

Make four Square Riddle

Asked by Neha on 17 Dec 2020

In the following series, a set of numbers is progressing with a particular pattern. Can you deduce that pattern and find the missing set?

(2 + 6), (21 + 6), (58 + 6), (119 + 6), ___

Asked by Neha on 05 Dec 2025


Railroad Crossing, look out for the cars. Can you spell that, without any R's ?

Asked by Neha on 14 May 2021

I am the beginning of everything, the end of everywhere. I'm the beginning of eternity, the end of time and space. What am I?

Asked by Neha on 21 Mar 2025

The chance of Mr John winning the lottery is 10%. All participants lined up and Mr John is 4th in the row. The first three participants lose the lottery.

What is the chance of Mr John now?

Asked by Neha on 09 Aug 2023


It has horns but can’t beep. It is like to bleat but It is not a sheep. What is it?

Asked by Neha on 30 Oct 2025

A Child was born in Lahore, Pakistan. Still, the child is not a Pakistani citizen. why?

Asked by Neha on 02 Mar 2023

In the city of Brain Teasers, 5% of people do not list their phone numbers. Now if we select random 100 people from the phone directory, then how many people selected will have unlisted phone numbers?

Asked by Neha on 30 Oct 2023


Identify the 10 differences between the two given pictures.

Pictures to Identify

Asked by Neha on 22 Dec 2023

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.