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

Find the Goldfish below the given Image.

Find the Goldfish

Asked by Neha on 25 Feb 2025


Can you place six X (crosses) in below board without making three in a row in any way ?

Kris Cross Riddle

Asked by Neha on 17 May 2021

A tree doubled in height each year until it reached its maximum height over the course of ten years. How many years did it take for the tree to reach half its maximum height?

Asked by Neha on 07 Aug 2025


John is 45 years older than his son Jacob. If you find similarities between their ages, both of their ages contain prime numbers as the digits. Also, John's age is the reverse of Jacob's age.

Can you find their ages?

Asked by Neha on 11 Sep 2024

I am the fastest animal but cannot climb the tree. What am I?

Asked by Neha on 29 Oct 2025

The husband and wife were jogging in the morning. To match every two steps of the husband, the wife required three steps. If Both of them start with the here right foot. After how many steps do their left foot be together?

Asked by Neha on 08 Feb 2025


What number does the below three word/phrase identify and why?
1. Deck
2. Year
3. Singing in the Rain

Asked by Neha on 21 Feb 2024

Take away my first letter, then take away my second letter. Then take away the rest of my letters, yet I remain the same. What am I?

Asked by Neha on 14 Oct 2021

You are provided with a grid (as shown in the picture). Can you fill the squares with numbers 1-8 in a manner that none of the two consecutive numbers are placed next to each other in any direction (vertically, horizontally or diagonally?)

Fill The Grid

Asked by Neha on 22 Sep 2025


I am a mother. However, I never give birth.

I am a father. However, I never nurse my children.

Wandering is not possible for me, but standing still happens occurs rarely.

Who am I?

Asked by Neha on 30 Oct 2024

Hot Articles

Amazing Facts

Out of the Box

The phrase “thinking outside the box” was popularised from the solution to a topographical puzzle involving 9 dots in a box shape.