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 know of a place where the wind blows south and then suddenly shifts direction towards the north?

Asked by Neha on 14 Sep 2025


In a boat, the father of a sailor's son is sitting with the son of the sailor. However, the sailor is not present on the boat.

Can this even be possible?

Asked by Neha on 24 May 2024

I get hot but I never sweat,
I cook food but I am not a chef,
I have a door but you can't enter me,
I have a light but I am not a lamp.
Who am I?

Asked by Neha on 15 Feb 2021


One night, a man runs away from home. He turns left and keeps running. After some time he turns left again and keeps running. Later, he turns left one more time and runs back home—but when he gets home, he finds a man in a mask. Who was the man in the mask?

Asked by Neha on 31 May 2025

Yesterday I fell from 30 feet high ladder but I don't get hurt. Why?

Asked by Neha on 11 May 2023

The ages of a father and son add up to 66.
The father's age is the son's age reversed.
How old could they be?
(3 possible solutions).

Asked by Neha on 17 May 2021


Prove that the below maths equation is true.

8 + 8 = 91

Asked by Neha on 16 Aug 2021

Can you count the number of triangles in the picture below?

Count the Triangle

Asked by Neha on 11 Apr 2024

Accidentally, two trains are running in the opposite direction and enter a tunnel that is 200 miles long. A supersonic bird that has fled the lab and taken shelter in the tunnel starts flying from one train towards the other at a speed of 1000 mph. As soon as it reaches the second train, he starts flying back to avoid collision and meets the first train again at the other end. The bird keeps flying to and fro till the trains collide with each other.

What is the total distance that the supersonic bird has traveled till the trains collided?

Asked by Neha on 21 Feb 2023


John is found dead in his office at his desk. The police have narrowed the suspects down to three people: Mrs. Jacob, John’s wife Hena and his business partner Jason . All three visited John on the day of his murder, but all three provide the police with stories of explanation as to the reason for their visit.
Police found John with his wrist watch still on his right arm, a torn up picture of his wife laying on the floor beside the trash can, and an ink pen in his right hand. On the desk, the police found a name plate, a telephone that was off the hook, and a personal calendar turned to the July 5th page with 7B91011 written on it. After examining this evidence, the police knew their suspect. Who was it ?

Asked by Neha on 11 Sep 2021

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.