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

Which three-digit number, made of consecutive digits, like 567, is 2 less than a cube and 2 more than a square?

Asked by Neha on 24 Aug 2024


In the image below, you can see two glasses and two matchsticks.You need to move four matchsticks in such a manner that the crosses come inside the glasses. Note: you cannot move the crossed.

Fun With Matchsticks

Asked by Neha on 13 Dec 2023

There is a basket full of hats. Three are white and two are black. Three men, Tom, Tim, and Jim, each take a hat out of the basket and put it on their heads without seeing the hat they selected or the hats the other men selected. The men arrange themselves so Tom can see Tim and Jim’s hats, Tim can see Jim’s hat, and Jim can’t see anyone’s hat. Tom is asked what color his hat is and he says he doesn’t know. Tim is asked the same question, and he also doesn’t know. Finally, Jim is asked the question, and he does know. What colour is his hat?

Asked by Neha on 06 Jun 2025


There is a hypothetical state between the USA and Mexico border 'Tango'.
Here 70 percent of the population have defective eyesight, 75 percent are hard of hearing, 80 percent have Nose trouble and 85 percent suffer from allergies, what percentage (at a minimum) suffer from all four ailments?

Asked by Neha on 17 May 2024

John was going on a jungle trip. He asked his wife to pack something to eat, something to drink and something to burn if he feels cold in the jungle. When John opens the backpack he found just one thing in the bag. What was it?

Asked by Neha on 28 Nov 2023

How many triangles are there on the puzzle below?

Let

Asked by Neha on 10 Feb 2024


Count the number of triangles in the picture below:

Counting You Should Know

Asked by Neha on 16 Jul 2024

What can go up a chimney down, but can’t go down a chimney up?

Asked by Neha on 12 Jul 2025

What is the next number in the series?

15 29 56 108 208 ?

Asked by Neha on 27 Dec 2024


A man was found murdered on Sunday morning. His wife immediately called the police. The police questioned the wife and staff and got these alibis: The Wife said she was sleeping. The Cook was cooking breakfast. The Gardener was picking vegetables. The Maid was getting the mail. The Butler was cleaning the closet. The police instantly arrested the murderer. Who did it and how did they know?

Asked by Neha on 17 May 2021

Hot Articles

Amazing Facts

Rubik’s Cube

The inventor of the Rubik’s Cube didn’t realize he’d built a puzzle until he scrambled it the first time and tried to restore it.