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

I am dry when I go inside, but wet when I am pulled outside.
The longer I am inside, the stronger I get
When I am completely out, I am wet and I literally sag
Who am I?

Asked by Neha on 11 Feb 2026


There are hundred red gems and hundred blue gems. The blue gems are priceless while the red gems equal wastage. You have two sacks one labeled Heads and the other Tails. You have to distribute the gems as you want in the two sacks. Then a coin will be flipped and you will be asked to pick up a gem randomly from the corresponding sacks.

How will you distribute the gems between the sacks so that the odds of picking a Blue gem are maximum?

Asked by Neha on 29 May 2023

Riddle me this, Riddle me that,
What am I? I am made of wood, but you can't see me down?

Asked by Neha on 16 Aug 2026


Can you name an animal whose killing cannot be performed without spilling your own blood?

Asked by Neha on 28 Feb 2023

Nine marbles are arranged in the image below. Can you slide two marbles to form a square?

Arrange The Marbles Puzzle

Asked by Neha on 23 Jan 2026

Consider this about a word: The first two letters signify a male, the first three letters signify a female, the first four letters signify a great, while the entire world signifies a great woman. What is the word?

Asked by Neha on 08 Jun 2025


What has many teeth, but cannot bite?

Asked by Neha on 15 Jul 2025

A wooden log balances equally on the scales when weighed with three-quarters of a pound and three-quarters of a wooden log.

Can you calculate the weight of the entire wooden log?

Asked by Neha on 22 Aug 2023

The measurement of time, That can't be found on a clock, But can be looked upon on a map.

Who is He ?

Asked by Neha on 30 Jan 2021


You have 21 jars with you. Out of them, 7 are filled with water, 7 are half-full with water and 7 are empty. How will you distribute the jars among three people such that each one of them gets an equal number of jars and an equal amount of water?

Asked by Neha on 29 Jul 2026

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.