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 find the company name in the pictogram below?

Find The Company

Asked by Neha on 09 Dec 2024


A man is lying dead in a field where no one is around. His head is split open and his legs are disfigured. Near to him, there is an unopened package. No living organism can be found anywhere at the crime scene.

How did he die?

Asked by Neha on 04 Apr 2023

By using 'because' continuously three times, can you make an English statement ?

Asked by Neha on 28 Aug 2021


Find the next number in the sequence

5 12 24 36 ?

Asked by Neha on 08 Jul 2023

You need to arrange three 7 and mathematical symbols to form number 1?

Asked by Neha on 02 Jul 2021

Only one colour, but not one size,
Stuck at the bottom, yet easily flies.
Present in sun, but not in rain,
Doing no harm, and feeling no pain.
What is it?

Asked by Neha on 17 May 2021


How many minutes are there in Feb 2017?

Note: The shortest answer is the correct answer.

Asked by Neha on 08 Aug 2024

What common phrase is represented by the below lines

Easy going:
Weak, 'I'm going.'
Tough, 'I'm staying.'

Medium going:
Weak, 'I'm going.'
Tough, 'I'm staying.'

Tough going:
Weak, 'I can't do it, I'm staying!'
Tough, 'Let's get going.'

Asked by Neha on 19 Nov 2024

A thief enters a store and threatens the clerk, forcing her to open the safe. The clerk says, “The code for the safe is different every day, and if you hurt me you’ll never get the code.” But the thief manages to guess the code on his own. How did he do it?

Asked by Neha on 14 Jun 2025


An exterior architect is asked by a builder to plant seven trees in a manner that there are exactly six rows of trees in a straight line and each row has three trees in particular.

How will he do it?

Math Figure Puzzle

Asked by Neha on 03 Apr 2023

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.