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

John replied, when asked how old he was. In 2 years he will be twice as old as he was five years ago.' How old is he ?

Find the age

Asked by Neha on 10 Apr 2021


On the occasion of Diwali, online seller companies in India are offering a big discount on Iphone14 as below.

: Flipkart offers a Flat 65% discount
: Amazon offers a 10% discount over and over again.
: Shopclues offers RS.45,000 off.

If the original cost of the iPhone is Rs.70,000 Which is the best offer for you?

Asked by Neha on 01 Sep 2024

A man and his wife were doing missionary work near the city of Nairobi in the country of Kenya in eastern Africa. Their housing had not yet been completed, so the man, the woman, and their six year old daughter were spending a few nights in the jungle in three small pup tents. During their third night there, the woman was awakened by the call of a hyena passing by, so she got out of her tent to see if her young daughter had been frightened by the noise. As she peered into her daughter's tent she was surprised to see the dark figures of lion, a panther, and a cheetah which were curled up next to her daughter. Seeing her daughter was asleep and unharmed, the woman slowly and quietly withdrew from the tent, and simply returned to her own tent and went back to bed. How could this child's mother leave her daughter in such a dangerous situation, and simply ignore what she had just witnessed without intervening in some way? How can such emotional coldness ever be explained; or is there something here we are missing?

Asked by Neha on 04 Apr 2022


John was going on a jungle trip. He asked his wife to pack something to eat, something to drink and something to burn if he feels cold in the jungle. When John opens the backpack he found just one thing in the bag. What was it?

Asked by Neha on 28 Nov 2023

John can place six large boxes or nine small boxes into a carton.

Can you find out in how many cartons can he place sixty-six boxes in total?

Asked by Neha on 10 Jul 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


In this image, you can see three almost identical Doraemon images. Can you spot the odd one out from them?

Odd one out Doraemon picture riddle

Asked by Neha on 19 Apr 2021

How old is your son? asked a man to his neighbour. My son is five times as old as my daughter and my wife is five times as old as my son. I am twice as old as my wife whereas my grandmother, who is celebrating her eighty-first birthday is as old as all of us put together.

How old is the man's son ?

Asked by Neha on 17 May 2021

In a jungle where there are no street lights or any other artificial source of lights, I notice a black snake crossing the road.
How did I get sight of the snake?

Asked by Neha on 15 Oct 2023


What breaks yet never falls, and what falls yet never breaks?

Asked by Neha on 09 Mar 2025

Hot Articles

Amazing Facts

Word ladder puzzle

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