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

A pack of cards has 40 cards. You are blindfolded. Out of 40, 25 cards are facing down while 15 are facing up. You have been asked to divide this pack of cards into two decks - so that each deck contains an equal number of face-up cards. Remember, you are blindfolded.

How will you do it?

Asked by Neha on 10 Jan 2026


What has 88 keys?

Asked by Neha on 09 Jul 2025

Akbar called Birbal and asked him to draw a line on the floor. He asked Birbal to make that line smaller without erasing it. Birbal smiled and did it before Akbar could blink his eyes.

How did he managed to do it?

Akbar Birbal line on the floor riddle

Asked by Neha on 07 May 2021


Find the next number in the series below

21 32 54 87 131 ?

Asked by Neha on 16 Nov 2023

In a town, there are four houses located at different distances from each other. Following are the distances:

The third house is 60 meters apart from the first house.
The fourth house is 40 meters apart from the second house.
The third house is 10 meters nearer to the fourth house than it is to the second house.

Can you find out the distance between the fourth and the first house?

Asked by Neha on 14 Sep 2024

A man dies of old age on his 25 birthday. How is this possible?

Asked by Neha on 13 Feb 2022


Can you identify the hidden rebus in the image below?

Name the Coded Animal

Asked by Neha on 01 Feb 2021

There is a box. The area of its top is 240 square units, the area of the front is 300 square units and the area of the end is 180 square units.

Can you calculate the dimensions of this box with the given data?

Asked by Neha on 19 Apr 2025

The answer I give is yes, but what I mean is no. What was the question?

Asked by Neha on 04 Sep 2025


You can see it everyday, But cannot touch it at will. What is it?

Asked by Neha on 17 May 2021

Hot Articles

Amazing Facts

Word ladder puzzle

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