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

Can you solve this picture maths equation?

Easy Maths

Asked by Neha on 09 Jun 2023


If a boy blows 18 bubbles,
Then pops 6 eats 7 and then
He pops 5 and blows 1.
How many are left?

Asked by Neha on 17 May 2021

Jack was having a candle light dinner with his girlfriend. Suddenly a cold gush of wind entered through the open window and three of the ten candles were extinguished. Assuming that none of the other candles were extinguished.

How many candles are they left with in the end ?

Asked by Neha on 12 Dec 2020


A pet show was happening in my locality. I went down along with my kids. In that show, I noticed that all except two of the entries were cats. All except two were dogs and all except two were Monkeys.

Can you find out how many of each animals were present in that pet show?

Asked by Neha on 04 Feb 2021

John's five friends Rachel, Jacob, Phoebe, Joey and Chandler live on the same road.

Rachel lives in the house: A, Jacob lives in the house: B, Phoebe lives in the house: C, Joey lives in the house:D, Chandler lives in the house: E

Mathematically
B*C*D = 1260
B + C + D = 2E
2A = E

The road numbers run from 2 to 222.

Can you tell me the house number of each of John's friends?

Asked by Neha on 10 Sep 2024

What does below pictogram mean?

Compile the Pictogram

Asked by Neha on 11 Aug 2021


Suppose you are a girl candidate and sitting in an interview. Suddenly the interviewer asks you, 'What if one morning you wake up and find out that you are pregnant?

How will you reply to such a question?

Asked by Neha on 29 Apr 2023

A bank customer had $100 in his account. He then made 6 withdrawals. He kept a record of these withdrawals, and the balance remaining in the account, as follows:

Withdrawals Balance left
$50 $50
$25 $25
$10 $15
$8 $7
$5 $2
$2 $0
----- -----
$100 $99

Why are the Totals not tallying?

Asked by Neha on 14 Dec 2023

Below, you can see three complete equations and one incomplete. Based on the three complete ones, can you complete the incomplete one?

5 $ 4 $ 3 $ 9 = 4215
6 $ 9 $ 2 $ 6 = 3816
4 $ 7 $ 3 $ 3 = 1122
7 $ 2 $ 7 $ 4 = ____

Asked by Neha on 10 Dec 2025


I am the first thing you need while camping.
I am always with the person named Marcos Valencia and Carrick.
But Pogba Zlatan and Rooney think I am wasteful and do not need me.
I am the second to the last thing to add when you are making a patch.

What am I?

Asked by Neha on 16 Dec 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.