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

Find three whole, positive numbers that have the same answer when multiplied together as when added together.

Asked by Neha on 01 Jan 2021


What do you answer even though it never asks you questions?

Asked by Neha on 12 Oct 2021

The captain of a ship is telling you an interesting story and then poses a question. He says, “I have travelled the oceans far and wide. One time, two of my sailors were standing on opposite sides of the ship. One was looking west and the other one east. And at the same time, they could see each other clearly. Can you tell me how that was possible?”

Asked by Neha on 11 Jun 2025


On one occasion, A Boy collects 71 rupees in form of 20 paise and 25 paise. He collects a total of 324 coins.

Can you tell me how many 20-paisa and 25-paisa he got?

Asked by Neha on 13 Jul 2024

Can you find out the next digit in the following series ?

0, 0, 1, 3, 2, 6, 3, 9, 4, 12, 5, ?

Asked by Neha on 22 Jan 2021

On a charity event in Russia, Murray beat Djokovic by winning six games and losing three games.
Note: There is a total of 5 service breaks(one who serve lost the game).
Who served first, Djokovic or Murray?

Asked by Neha on 06 Jun 2023


What number do you get when you multiply all of the numbers on a telephone's number pad?

Asked by Neha on 17 Jul 2024

On 26-01-2022, Juli was murdered at her house in a city in India in the afternoon. There were three suspects in the murder and the following are the statements that were given by them:

John: I visited my village that day.
Jacob: I was out to deposit my house tax in the municipality office at that time.
Jonny: I was at a friend's place having lunch at that time.

Can you find out who is the murderer?

Asked by Neha on 15 Dec 2023

Replace the question mark with the correct number in below Picture:

Replace the Number

Asked by Neha on 30 May 2021


A chess tournament is taking place on knock-out terms (the one who loses the match is out of the game).
(a) If 10 matches are played in total, how many players participated?
(b) If 20 players took part in the tournament, how many matches were played?

Asked by Neha on 10 Feb 2025

Hot Articles

Amazing Facts

Rubik’s Cube

The inventor of the Rubik’s Cube didn’t realize he’d built a puzzle until he scrambled it the first time and tried to restore it.