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

You are driving down the road in your car on a wild, stormy night, when you pass by a bus stop and you see three people waiting for the bus

An old lady looks as if she is about to die.
An old friend who once saved your life.
The perfect partner you have been dreaming about.
Knowing that there can only be one passenger in your car, whom would you choose?

Asked by Neha on 11 Apr 2025


Get total of 120 by using five zeros 0,0,0,0,0 and any one mathematical operator.
Do you ?

Asked by Neha on 09 Jul 2021

An exterior architect is asked by a builder to plant seven trees in a manner that there are exactly six rows of trees in a straight line and each row has three trees in particular.

How will he do it?

Math Figure Puzzle

Asked by Neha on 03 Apr 2023


Solve the alphametic puzzle by replacing the alphabet with the number.

S T O R M +
S O L E S
=========
T O W E L
=========

Asked by Neha on 30 Jul 2024

There is a place where if I stand up straight, I will still be considered sideways.

Asked by Neha on 05 May 2025

A 52% bias toss for head using the 51% tail bias coin was done to obtain a fair result.

Can you find how bias is the floor in this case?

Asked by Neha on 15 Feb 2023


Joseph buys three kinds of chocolates for 100 rupees. The first one is priced at 5 rupees, second one at 3 rupees and third one at 0.5 rupees.

If he bought 100 chocolates in total, how many pieces do you think he bought each chocolate?

Asked by Neha on 04 Jan 2021

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

I make two people out of one. What am I?

Asked by Neha on 29 Mar 2022


You have a square. What you have to do is cut and reassemble the square such that you create a Red Cross sign that has the same volume as that of the square.

Red Cross Sign Riddle

Asked by Neha on 08 Nov 2025

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.