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

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


I want to fill my bucket using both cold and hot water.
I have two taps for both cold and hot water. The hot water tap fills the bucket in exact 6 hours and the cold water tap fills the bucket in exact 4 hours.
I turn both of them simultaneously but I forgot to turn off another tap which removes the water out of the bucket. This tap can empty the bucket in 12 hours.

How Long will it take to fill the bucket?

Asked by Neha on 30 Sep 2023

A woman is sitting in her hotel room and hears a knock at the door. She opens the door to see a man whom she’s never met before. He says, “I’m sorry, I have made a mistake, I thought this was my room.” He then goes down the corridor and into the elevator. The woman goes back into her room and calls security. What made the woman so suspicious of the man?

Asked by Neha on 22 May 2025


How many Watermelons are there in the below picture?

How many Watermelons?

Asked by Neha on 13 Apr 2025

I have an apple tree , number of apple in this tree get doubles every week.

On 30th week , the tree gets completely filled with apples :-)



Can you tell me , on what week does my tree is half covered with apples ?

Asked by Neha on 28 Feb 2021

Use the numbers 2, 3, 4 and 5 and the symbols + and = to make a true equation. Conditions: Each must be used exactly once and no other numbers or symbols can be used.

Asked by Neha on 30 Sep 2021


Why Aeroplane windows are round?

Aeroplane Window Shape

Asked by Neha on 29 Jul 2023

500 women soldiers are arranged in an array of ten rows and fifty columns in accordance with their respective heights. Now, the tallest woman from each row is asked to move out in the front. From them, the shortest one is labelled as Alpha. They are then asked to resume their original position.

Now, the shortest woman in each column is asked to come out in front. The tallest among them is labelled as Beta.

Can you find out if Alpha will be taller or Beta?

Asked by Neha on 16 Sep 2025

The host of a game show offers the guest a choice of three doors. Behind one is an expensive car, but behind the other two are goats.
After you have chosen one door, he reveals one of the other two doors behind which is a goat (he wouldn't reveal a car).

Now he gives you the chance to switch to the other unrevealed door or stay at your initial choice. You will then get what is behind that door.

You cannot hear the goats from behind the doors, or in any way know which door has the prize.

Should you stay, or switch, or doesn't it matter?

Asked by Neha on 06 May 2023


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

Hot Articles

Amazing Facts

Gambling

In Canada, a mathematical puzzle must be solved in order to win the lottery to classify it as a “game of skill” not gambling.