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 walk into a room that contains a match, a kerosene lamp, a candle and a fireplace. What would you light first?

Asked by Neha on 16 May 2022


Transform the word THINK into BRAIN while changing only one letter at a time in a manner that each of the word in the process is a real word!!!

Asked by Neha on 16 Feb 2023

What four weights can be used to balance from 1 to 30 pounds?

Asked by Neha on 25 Apr 2022


It is a 5 letter word if you take away first letter it is something you get from sun, if you remove second letter you will get something to eat, if you remove third letter you get a word you use in pointing at and if you remove the fourth letter you get something to drink. What is it?

Asked by Neha on 17 May 2021

How many sides does a circle have?

Asked by Neha on 06 Oct 2021

What has a ring but no finger?

Asked by Neha on 13 Apr 2024


Accidentally, two trains are running in the opposite direction and enter a tunnel that is 200 miles long. A supersonic bird that has fled the lab and taken shelter in the tunnel starts flying from one train towards the other at a speed of 1000 mph. As soon as it reaches the second train, he starts flying back to avoid collision and meets the first train again at the other end. The bird keeps flying to and fro till the trains collide with each other.

What is the total distance that the supersonic bird has traveled till the trains collided?

Asked by Neha on 21 Feb 2023

Which city is three-fifths chick two third cat and 50% goat?

Asked by Neha on 25 Jan 2024

How many bananas can you eat if your stomach is empty?

Asked by Neha on 13 Mar 2022


What word begins and ends with an E, but has only one letter?

Asked by Neha on 21 Oct 2021

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.