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

Replace the letters of words with a number so that the below equation holds true

BASE +
BALL
---------
GAMES
----------

Asked by Neha on 10 Oct 2023


When I asked a girl's name she told me her name is the date '07/09/2001'.

I thought for a few seconds and then I got her name. Do you?

Asked by Neha on 02 Dec 2025

In the given picture, you can find two letters missing. When two particular letters are placed in the missing spots, you get an eight-letter word while reading in the anti-clockwise direction. Can you find out the missing letters and the missing word eventually?

Picture Puzzle

Asked by Neha on 23 Dec 2024


At a party, there are five people and a whole round cake lying at the centre of the table. Only four people will make a cut and take their piece and the last one will get the remaining piece on the table. How can they make sure that everyone gets a 1/5th of the piece?

Asked by Neha on 20 Sep 2024

You see a boat filled with people, yet there isn’t a single person on board. How is that possible?

Asked by Neha on 16 May 2022

A boy was driving a car, a girl took a lift from her. She asked his name. The boy said - my name is hidden in my car’s number, find it if you can. After this, she got down Car number was [ WV733N ] Can you guess the name now?

Asked by Neha on 22 Mar 2024


A man was going to bleach his socks because they had gotten muddy the day before. As he was pouring the bleach into the washing machine, he spilt some on the floor. He got some cleaning fluid and mopped it up with a rag. Minutes later he was dead. What killed him?

Asked by Neha on 09 Feb 2024

At my favorite fruit stand,
an orange costs 18,
a pineapple costs 27,
and a grape costs 15.
Using the same logic, can you tell how much a mango costs?

Asked by Neha on 13 May 2023

When Jack was six years old he hammered a nail into his favourite tree to mark his height. Ten years later at age sixteen, Jack returned to see how much higher the nail was. If the tree grew by five centimetres each year, how much higher would the nail be?

Asked by Neha on 17 May 2021


You are in a land where thirty men and two women were dressed in classic black and white dresses.
They begin to fight as soon as any of them move.

Where are you?

Asked by Neha on 19 Jul 2024

Hot Articles

Amazing Facts

Jigsaw puzzles

Jigsaw puzzles soared in popularity during the great depression, as they provided a cheap, long-lasting, recyclable form of entertainment.