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

A landlord calls both of his sons and tells them that their horses will now decide who will transfer the inheritance. He tells them to race along the land till the end and the one whose horse will be slower will win and be the heir to all the property.

Both of them keep wandering for days but to no result. Then they ask a wise man regarding it. The man advises them on the matter after which they jump on the horses and race as fast as they can till the end. Why did they do it?

What did the wise man say?

Asked by Neha on 05 Nov 2025


Many have heard it, but nobody has ever seen it, and it will not speak back until spoken to. What is it?

Asked by Neha on 22 Sep 2023

If nine thousand, nine hundred nine dollars is written as $9,909,
how should twelve thousand, twelve hundred twelve dollars be written?

Asked by Neha on 24 Sep 2023


our enemy challenges you to play Russian Roulette with a 6-cylinder pistol (meaning it has room for 6 bullets). He puts 2 bullets into the gun in consecutive slots, and leaves the next four slots blank. He spins the barrel and hands you the gun. You point the gun at yourself and pull the trigger. It doesn't go off. Your enemy tells you that you need to pull the trigger one more time, and that you can choose to either spin the barrel at random, or not, before pulling the trigger again. Spinning the barrel will position the barrel in a random position.

Assuming you'd like to live, should you spin the barrel or not before pulling the trigger again?

Asked by Neha on 04 May 2022

how come the second man dies?

How come the second man dies Riddle

Asked by Neha on 28 Feb 2026

Do You See It?

Do You See It?

Asked by Neha on 17 Feb 2022


If a zookeeper had 100 pairs of animals in her zoo, and two pairs of babies are born for each one of the original animals, then (sadly) 23 animals don’t survive, how many animals do you have left in total?

Asked by Neha on 05 Aug 2025

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

John can eat 27 chocolates in an hour, Jacob can eat 2 chocolates in 10 minutes, and Jolly can eat 7 chocolates in 20 minutes. How long will it take them to share and eat a box of 120 chocolates whilst playing Chess?

Asked by Neha on 09 Sep 2024


I am a word that begins with the letter “i.” If you add the letter “a” to me, I become a new word with a different meaning, but that sounds exactly the same. What word am I?

Asked by Neha on 19 Mar 2025

Hot Articles

Amazing Facts

Challenging

There is a cryptic organization called Cicada 3301 that posts challenging puzzles online, possibly to recruit codebreakers and linguists.