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

Which is the correct shadow of the bird?

Correct Shadow Riddle

Asked by Neha on 23 Aug 2021


Buy me, smell me or deliver me, I do not change.

Who am I?

Asked by Neha on 19 Feb 2024

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


Solve the puzzle by telling what does below picture means.

Solve by Name Puzzle

Asked by Neha on 28 Nov 2025

What is in seasons, seconds, centuries and minutes but not in decades, years or days?

Asked by Neha on 25 Dec 2024

A B C D E F G H

These are the letters given to you. Now you have to find out the letter that comes two to the right of the letter which is immediately to the left of the letter that comes three to the right of the letter that comes midway between the letter two to the left of the letter C and the letter immediately to the right of the letter F.

Asked by Neha on 25 Jun 2021


How is a fly different from a mosquito?

Asked by Neha on 15 Jul 2023

Count the number of triangles in the below picture?

Triangles Count

Asked by Neha on 12 Oct 2023

You need to pick one entry from pot A and one from pot B to have a perfect match. Can you do it?

Football World Cup 2014

Asked by Neha on 22 Aug 2021


Before Mount Everest was discovered, what was the highest mountain in the world?

Asked by Neha on 04 Aug 2021

Hot Articles

Amazing Facts

Word ladder puzzle

The word ladder puzzle was invented by Lewis Carroll, author of Alice’s Adventures in Wonderland.