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

How will you measure 15 minutes using two hourglasses of 7 minutes and 11 minutes respectively?

Asked by Neha on 07 Sep 2023


Consider this about a word: The first two letters signify a male, the first three letters signify a female, the first four letters signify a great, while the entire world signifies a great woman. What is the word?

Asked by Neha on 08 Jun 2025

How many times in a given day, minutes and hour clock comes in a straight line ?

Asked by Neha on 03 Mar 2023


What word does this rebus represent?

meta meta
meta meta

Asked by Neha on 11 May 2021

A man was driving a black truck. His lights were not on. The moon was not out. A lady was crossing the street. How did the man see her?

Asked by Neha on 06 Mar 2022

"That Restaurant always remains crowded. This is the reason why nobody goes there".

Can you find a flaw in this statement?

Asked by Neha on 06 Apr 2024


Edward James went for tiger hunting.

It was not his lucky day.



He got six tigers without heads, nine tigers without the tail and eight cut in two halves.

How many tiger did he hunted ?

Asked by Neha on 22 Apr 2021

On her drawing table, Sayna lit 12 coloured candles. A few seconds later she blew two candles off.

How many candles Sayna have at the end?

Light the Candles

Asked by Neha on 07 Mar 2021

On a windy rainy night , I was driving in my car.
When i reach the bus stand , i see three people waiting for the bus.

1. An old lady who needs an immediate medical attention
2. My Best Friend
3. Girl whom i love from childhood

My car is a two seat, so can you tell me , what i have done in this situation ?

Asked by Neha on 14 Feb 2023


What is the end of everything?

Asked by Neha on 18 Jul 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.