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 man and a dog were going down the street. The man rode, yet walked. What was the dog’s name?

Asked by Neha on 10 Mar 2022


How high do you have to count before you use the letter “a” in the English spelling of the whole number?

Asked by Neha on 11 Sep 2025

There are three boxes which are labeled as Rs100, Rs150, and Rs200. One box contains two notes of Rs. 50. The second box contains one note of Rs50 and one note of Rs100 The third box contains two Rs. 100 notes. All boxes are labeled incorrectly.

What is the minimum number of boxes you must check in order to label all boxes correctly?

Asked by Neha on 02 Feb 2021


Imagine you are in a room with no windows or doors. How will you get out?

Asked by Neha on 25 Oct 2025

Out of three Friends John, Jacob and Jonny one of them is a king, one is a bureaucrat, and one is a Spy.

The king always tells the truth, the bureaucrat always lies, and the Spy can either lie or tell the truth.

John says: Jonny is a bureaucrat
Jacob says: John is a king
Jonny says: I am a Spy

Tell me, Who is the king, who is the bureaucrat, and who is the Spy?

Asked by Neha on 03 Feb 2024

Spelt forwards I’m what you do every day, spelled backwards I’m something you hate. What am I?

Asked by Neha on 26 Jul 2025


What goes up but never comes down?

Asked by Neha on 26 Oct 2021

Why did Navjot Singh Sidhu put the new January calendar in the freezer

Asked by Neha on 01 Dec 2024

Can you circle exactly four of these numbers such that the total is twelve?

1 6 1
6 1 6
1 6 1
6 1 6

Asked by Neha on 27 Apr 2023


How do you go from 98 to 720 using just one letter?

Asked by Neha on 08 Oct 2021

Hot Articles

Amazing Facts

Crossword puzzles

In the 1920s, people feared that crossword puzzles would contribute to illiteracy.