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

A boy was driving a car, a girl took a lift from her. She asked his name. The boy said - my name is hidden in my car’s number, find it if you can. After this, she got down Car number was [ WV733N ] Can you guess the name now?

Asked by Neha on 22 Mar 2024


You are a cab driver who pools passengers. You pick 3 people from a destination and drop 1 after an hour. 2 people climb aboard at the same time and you drop 3 at the next destination. After some time, you pick 2 passengers only to drop 1 after a short distance where 3 more passengers climb up the cab. You leave the rest of the passengers one by one to their destination and then come back home.

Can you tell the eye color of the cab driver?

Asked by Neha on 06 Apr 2023

James ordered a fishing rod, priced at $3.56. Unfortunately, James is an Eskimo who lives in a very remote part of Greenland and the import rules forbid any package longer than 4 feet to be imported. The fishing rod was 4 feet and 1 inch, just a little too long, so how can the fishing rod be mailed to James without breaking the rules? Ideally James would like the fishing rod to arrive in one piece!

Asked by Neha on 11 Apr 2022


In the following picture, E is going to slide the object down and as per the terrain and the physics, the round object is going to travel all the way till the end. Now, can you analyze who all people will die when it happens?

Who All Dies

Asked by Neha on 21 Mar 2021

A rubber ball keeps on bouncing back to 2/3 of the height from which it is dropped. Can you calculate the fraction of its original height that the ball will bounce after it is dropped and it has bounced four times without any hindrance ?

Asked by Neha on 16 Sep 2024

If six children and two dogs were under an umbrella, how come none of them got wet?

Asked by Neha on 07 Mar 2022


In the four images below, can you find the odd one out?

Odd One Out Riddle

Asked by Neha on 08 Jul 2021

You order chicken wings at KFC in the boxes of 6, 9 and 20. What is the largest number of wings that you cannot obtain by buying in any combination of the boxes?

Asked by Neha on 10 Jul 2021

The captain of a ship is telling you an interesting story and then poses a question. He says, “I have travelled the oceans far and wide. One time, two of my sailors were standing on opposite sides of the ship. One was looking west and the other one east. And at the same time, they could see each other clearly. Can you tell me how that was possible?”

Asked by Neha on 11 Jun 2025


If I remove one from eleven it becomes Ten and if I remove one from nine also becomes Ten. How?

Asked by Neha on 25 Oct 2023

Hot Articles

Amazing Facts

Challenging

There is a cryptic organization called Cicada 3301 that posts challenging puzzles online, possibly to recruit codebreakers and linguists.