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

What has lots of eyes, but can’t see?

Asked by Neha on 20 Feb 2022


From a pack of 52 cards, I placed 4 cards on the table.

I will give you 4 clues about the cards:

Clue 1: Card on left cannot be greater than the card on the right.
Clue 2: Difference between the 1st card and 3rd card is 8.
Clue 3: There is no card of an ace.
Clue 4: There are no face cards (queen, king, jacks).
Clue 5: Difference between the 2nd card and 4th card is 7.

Identify four cards?

Asked by Neha on 24 Aug 2021

What does this Rebus Picture means ?

Rebus riddle with Show on the side

Asked by Neha on 23 Apr 2021


Place a mathematical symbol between the numerals 5 and 9 in such a way that the resulting number is greater than 5 but smaller than 9.

Asked by Neha on 30 Jul 2021

My first is in chocolate but not in ham. My second is in cake and also in jam. My third at tea time is easily found. Altogether, this is a friend who is often around. What is it?

Asked by Neha on 26 May 2025

Which alphabet is a part of our body?

Asked by Neha on 03 Nov 2023


Solve the below puzzle by replacing the question mark with the correct number.

3 6 12

4 8 16

5 10 ?

Asked by Neha on 12 Apr 2025

Replace the question mark with the correct number.

2 + 2= 4
3 + 3= 18
4 + 4= 48
5 + 5= ?

Asked by Neha on 15 Aug 2023

There are two candles. Both will only burn exactly for an hour. How will you use these two candles to measure forty-five minutes?

Asked by Neha on 07 May 2024


A clock loses 10 minutes each hour. If the clock is set correctly at noon, what time is it when it reads 3 PM?

Asked by Neha on 26 Apr 2025

Hot Articles

Amazing Facts

Rubik’s Cube

The inventor of the Rubik’s Cube didn’t realize he’d built a puzzle until he scrambled it the first time and tried to restore it.