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

An office is divided into 8 cubicles. How many of the cubicles are painted if only 1/8 of the cubicles are painted?

Asked by Neha on 23 Feb 2022


The chance of Mr John winning the lottery is 10%. All participants lined up and Mr John is 4th in the row. The first three participants lose the lottery.

What is the chance of Mr John now?

Asked by Neha on 09 Aug 2023

What number comes next in this sequence:
7 8 5 5 3 4 4 _

Asked by Neha on 06 Aug 2024


Considering the below equation:

V + II - VI = 10
IV - X + VIII = 20
IV - VII + VI = 30

Then, I + II + III = ?

Asked by Neha on 15 Nov 2024

What do you get if you add 2 to 100 four times?

Tricky Maths

Asked by Neha on 24 Jun 2024

Which letter of the alphabet has the most water?

Asked by Neha on 03 Aug 2025


Replace the 'X' with any mathematical symbol to make the expression equal to 111.

18 X 12 X 2 X 3 = 111

Asked by Neha on 27 Jul 2024

Can you decipher these quotes by Albert Einstein?
Blf xzm mvevi hloev z kilyovn lm gsv ovevo lm dsrxs rg dzh xivzgvw.

Asked by Neha on 12 Jun 2024

A father's child, a mother's child, yet no one's son.

Who am I?

Asked by Neha on 21 Mar 2022


There are three Athletes (John, Tarun and Harish) and their individual Coaches (Jacob, Meenaxi and Priyanka) standing on the shore.
No Coach trusts their Athlete to be near any other Coach unless they are also with them.
There is a boat that can hold a maximum of two persons.
How can the six people get across the river?

Asked by Neha on 05 Feb 2025

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.