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

Buy me, smell me or deliver me, I do not change.

Who am I?

Asked by Neha on 19 Feb 2024


By removing one matchstick and adding one matchstick, can you convert the word "ZOO" to an animal name?

Zoo Matchsticks Riddle

Asked by Neha on 27 May 2023

I am the one who remains awake when you sleep. But I need to rest when you awake. Who Am I?

Asked by Neha on 23 Jan 2025


A girl rode into a tourist spot out of the city on Thursday. She loved the place and decided to stay for a few days. She stayed for four days and then she left for back home on Thursday.

How can this be possible?

Asked by Neha on 26 Mar 2023

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

I have no life, but I can die. What am I?

Asked by Neha on 24 Aug 2025


Can you think of a smallest +ve number such that if we shuffle the digits of the number, the new number becomes double the original number?

Asked by Neha on 25 Feb 2024

What is the four-digit number in which the first digit is one-third the second, the third is the sum of the first two, and the last is three times the second?

Asked by Neha on 15 Sep 2025

Can you count the number of triangles in the given picture?

Count The Triangles <br />

Asked by Neha on 29 Dec 2024


Three cars are driving on a track that forms a perfect circle and is wide enough that multiple cars can pass anytime. The car that is leading in the race right now is driving at 55 MPH and the car that is trailing at the last is going at 45 MPH. The car that is in the middle is somewhere between these two speeds.
Right now, you can assume that there is a distance of x miles between the leading car and the middle car and x miles between the middle car and the last car and also, x is not equal to 0 or 1.
The cars maintain their speed till the leading car catches up with the last car and then every car stops. In this scenario, do you think of any point when the distance between any two pairs will again be x miles i.e. the pairs will be x distance apart at the same time ?

Asked by Neha on 08 May 2021

Hot Articles

Amazing Facts

Word ladder puzzle

The word ladder puzzle was invented by Lewis Carroll, author of Alice’s Adventures in Wonderland.