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

Do You See It?

Do You See It?

Asked by Neha on 17 Feb 2022


Use only one mathematical symbol and all numbers (0-9) to get a sum of 99

Asked by Neha on 07 Feb 2025

What goes through cities and fields, but never moves?

Asked by Neha on 10 Mar 2025


When a clock is observed, the hour hand is at a minute mark and the minutes hand is six minutes ahead of it.

When the clock is observed again after some time, the hour hand is precisely on a different minute mark and the minute hand is seven minutes ahead of it.

Can you calculate how much time has elapsed between the two observations?

Asked by Neha on 07 Jul 2021

A California farmer owns a beautiful pear tree. He supplies the fruit to a nearby grocery store. The store owner calls the farmer to see how much fruit is available for him to buy. The farmer knows the main trunk has 24 branches. Each branch has exactly 12 boughs and each bough has exactly 6 twigs. Since each twig bears one piece of fruit, how many plums will the farmer be able to deliver?

Asked by Neha on 24 May 2025

A farmer went to a market and bought a wolf, a goat, and a cabbage. On his way home, the farmer came to the bank of a river and rented a boat. But crossing the river by boat, the farmer could carry only himself and a single one of his purchases: the wolf, the goat, or the cabbage. If left unattended together, the wolf would eat the goat, or the goat would eat the cabbage. The farmer’s challenge was to carry himself and his purchases to the far bank of the river, leaving each purchase intact. How did he do it?

Asked by Neha on 21 May 2025


You have a 12 liters jug full of water. You have two empty 8 liters and 5 liters jug. How can you divide the water into two equal parts using these jugs?

Asked by Neha on 21 Dec 2020

A girl was sitting in her hotel room when she heard a knock on the door. She opened the door and found that a man was standing outside.
The man said, "Oh! I am really sorry, I thought this was my room."
He then walked through the corridor to the elevator. The girl did not know the man. She closed her door and called security asking them to apprehend the man.
What made her suspicious of that man? He might have been genuinely mistaken.

Asked by Neha on 28 Aug 2023

We have four gears with below features=> Both Gear A and D has 60 teeth=> Gear B has 40 teeth=> Gear C has 20 teeth=> Every two minutes, Gear B makes 25 full turns.What is the relative speed of Gear A and Gear B?

Gear Rotation Riddle

Asked by Neha on 21 Aug 2021


A container contains 100 eggs. They can be either fresh or rotten. What is sure is the fact that there is at least one fresh egg in that container.

If you are asked to pick two eggs randomly from the container, at least one of them will be rotten.

Can you calculate how many eggs in that container are fresh?

Asked by Neha on 19 Nov 2023

Hot Articles

Amazing Facts

Jigsaw puzzles

Jigsaw puzzles soared in popularity during the great depression, as they provided a cheap, long-lasting, recyclable form of entertainment.