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

Keyboard words are not in alphabetical order, Why?

Asked by Neha on 26 Jul 2023


You have two buckets - one holds exactly 5 gallons and the other 3 gallons. How can you measure 4 gallons of water into the 5 gallon bucket?

(Assume you have an unlimited supply of water and that there are no measurement markings of any kind on the buckets.)

Asked by Neha on 26 Apr 2022

If an earthquake is 1 point higher on the Richter Scale than another earthquake which is actually 10 times stronger, how much stronger would an earthquake be if it was just half a point higher on the Richter scale?

Asked by Neha on 23 Jun 2024


A wealthy man lives alone in a small cottage. Being partially handicapped he had everything delivered to his cottage. The mailman was delivering a letter one Thursday when he noticed that the front door was ajar. Through the opening he could see the man's body lying in a pool of dried blood. When a police officer arrived he surveyed the scene. On the porch were two bottles of warm milk, Monday's newspaper, a catalog, flyers, and unopened mail. The police officer suspects it was foul play. Who does he suspect and why?

Murder Mystery Puzzle

Asked by Neha on 07 Apr 2021

Can you find the odd number in the following?

2716, 4135, 5321 and 7145

Asked by Neha on 30 Mar 2023

One is to three as three is to five and five is to four and four is the magic number.
What is the pattern?

Asked by Neha on 04 Oct 2021


A word I know,
Six letters contain,
Subtract just one,
And twelve is what remains.

Asked by Neha on 18 Feb 2024

What Time Should the last watch show in the below figure?

Time in the Clock

Asked by Neha on 21 Sep 2024

What do you get if you add 2 to 100 four times?

Tricky Maths

Asked by Neha on 24 Jun 2024


The following question it puts forth you:

25 - 55 + (85 + 65) = ?

Then, you are told that even though you might think it's wrong, the correct answer is actually 5!

Whats your reaction to it? How can this be true?

Asked by Neha on 07 Jun 2024

Hot Articles

Amazing Facts

Out of the Box

The phrase “thinking outside the box” was popularised from the solution to a topographical puzzle involving 9 dots in a box shape.