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

You are given a cube that is made with the help of 10x10x10 smaller cubes summing up to a total of 1000 smaller cubes. You are asked to take off one layer of the cubes.
How many remain now?

Cube Game

Asked by Neha on 17 Jan 2021


Which is heavier: a ton of bricks or a ton of feathers?

Asked by Neha on 28 Feb 2022

When is the top of a mountain similar to a savings account?

Asked by Neha on 18 Aug 2025


Which is Odd One Out and why?

4377

3954

9862

8454

9831

Asked by Neha on 09 Jan 2024

1 rabbit saw 9 elephants while going to the river. Every elephant saw 3 monkeys going toward the river. Each monkey had 1 parrot in each hand. How many animals are going towards the river?

Asked by Neha on 30 Aug 2025

15 caves are arranged in a circle at the temple of doom. One of these caves has the treasure of gems and wealth. Each day the treasure keepers can move the treasure to an adjacent cave or can keep it in the same cave. Every day two treasure seekers visit the place and have enough time to enter any two caves of their choice.

How do the treasure seekers ensure that they find the treasure in the minimum number of possible days?

15 Cave Riddle

Asked by Neha on 29 Jul 2024


Cristina was born in 1888. She just had her 30th birthday today how did that happen?

Asked by Neha on 27 Feb 2024

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

Asked by Neha on 04 Aug 2021

A man hijacks an aeroplane transporting both passengers(8 of them) and valuable cargo. After taking the cargo, the man demands nine parachutes, puts one of them on, and jumps, leaving the other eight behind. Why did he want eight?

Aeroplane Hijack Riddle

Asked by Neha on 02 Apr 2021


A man wants to cross the pit of fire which is 25 feet in length and he has 2 planks(fire resistant) 19 feet in length. How can he cross the pit of fire alive?

Asked by Neha on 02 Oct 2025

Hot Articles

Amazing Facts

Word ladder puzzle

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