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

In the given figure, move three matchsticks so that the resulting figure contains two rectangles.

Matchsticks Rectangles

Asked by Neha on 25 Jul 2024


There is a bag which have 21 blue balls and 23 red balls. You also have 22 red balls outside the bag. Randomly remove two balls from the bag. * If they are of different colors, put the blue one back in the bag. * If they are the same colour, take them out and put a red ball back in the bag. Repeat this until only one ball remains in the bag. What is the color of the sole ball left in the bag ?

Asked by Neha on 13 Mar 2026

You are on your way to visit your Friend, who lives at the end of the hill. It is his birthday, and you want to give him the cakes you have made. Between your house and his house, you have to cross 5 bridges, and as it goes in the land of make believe, there is a troll under every bridge! Each troll, quite rightly, insists that you pay a troll toll. Before you can cross their bridge, you have to give them half of the cakes you are carrying, but as they are kind trolls, they each give you back a single cake. How many cakes do you have to leave home to make sure that you arrive at a friend's house with exactly two

Asked by Neha on 20 Jan 2026


Can you spot what's wrong with the following sentence?

PETER WAS ANGRY AT
HIMSELF BECAUSE HE
ACCIDENTALLY LEFT THE
THE KEYS TO HIS CAR
AT HIS FRIEND'S HOUSE.

Asked by Neha on 03 May 2022

Can you find the ages of a son, father and grandfather based on the following facts?
The sum of the ages of grandfather, father and son is 140 years.
The age of the son in months is the same as the grandfather in years.
The age of the son in days is the same as the father in weeks.

Asked by Neha on 29 Jan 2024

Which wheel of car does not rotate when you turn your car right?

Asked by Neha on 08 Aug 2021


Identify The phrase in the picture.

Face the Word

Asked by Neha on 31 Jan 2024

A man is lying dead in a field where no one is around. His head is split open and his legs are disfigured. Near to him, there is an unopened package. No living organism can be found anywhere at the crime scene.

How did he die?

Asked by Neha on 04 Apr 2023

Make a sentence consisting of three words that have the whole alphabet.

Asked by Neha on 11 Dec 2025


Alex opened 24 presents
Jonah opened 8 presents
Clara opened 1 present

Can you find out how many presents were opened by Candy?

Asked by Neha on 06 May 2024

Hot Articles

Amazing Facts

Crossword puzzles

In the 1920s, people feared that crossword puzzles would contribute to illiteracy.