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 see me once in June, twice in November, and not at all in May. What am I?

Asked by Neha on 31 Jul 2025


Can you find the key in the picture below?

Find the Key

Asked by Neha on 07 Apr 2024

A patient was diagnosed with some ailment. He was given five different tablets to take at night at an interval of 15 minutes.

How long will it take the patient to consume all the five tablets?

Asked by Neha on 02 Jul 2024


A mother is 21 years older than her child. In exactly 6 years from now, the mother will be exactly 5 times as old as the child.
Where's the father?

Asked by Neha on 26 Jun 2021

In a supermarket, there is an intelligent glass pane before a refrigerating unit. This glass pane allows cherries and apples through it but does not allow grapes and Orange to pass through it.

Can you identify the rule that the glass pane is following?

Asked by Neha on 18 Jul 2024

A pond had 60 fish, out of which, all but 20 died.
How many fishes are now present in that pond?

Asked by Neha on 14 Jul 2024


I am under you when I am whole.
I shift above you if you remove the first letter.
I come all around you if you remove the second as well.

Can you tell me who I am?

Asked by Neha on 28 Jun 2023

What number comes next in this sequence:
7 8 5 5 3 4 4 _

Asked by Neha on 06 Aug 2024

You are mixing a mixture of cement and Sand with five gallons of water. You have a garden hose giving you all the water you need. The problem is that you only have a four-gallon bucket and a seven-gallon bucket and neither has graduation marks. Find a method to measure five gallons.

Asked by Neha on 13 Aug 2024


Three friends named Mr. Black, Mr. Yellow and Mr. Green enter a pub on a weekend night. They are wearing either a Black, Yellow or Green shirt.

Mr. Yellow says to them, 'Did you notice that we all are wearing different color shirts than our names?'

To this, the man who was wearing the Green shirt said. 'Wow, thats right.'

Can you identify who is wearing which colour shirt ?

Asked by Neha on 28 Jul 2021

Hot Articles

Amazing Facts

No Solution

In 2007, a puzzle was released and $2 million prizes were offered for the first complete solution. The competition ended at noon on 31 December 2010, with no solution being found. Wiki