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

What is next number in the pattern below:

131 517 192 123 ?

Asked by Neha on 31 Dec 2023


What is at the end of a rainbow?

Asked by Neha on 17 May 2021

Complete the series by replacing "?" with the correct number.

ST ND RD TH '?'

Asked by Neha on 14 Jan 2026


I had an infinite supply of water and 5 litres and 3 litres jars.

How would you measure exactly 4 litres in the least number of steps?

Asked by Neha on 18 Nov 2025

A wife and her husband were driving in their car on the highway. All of a sudden, they ran out of gas. So the husband said to the wife, 'Now, you stay here. I will go down the highway to the nearest gas station, and it will be about 1 hour. Just listen to the radio and read some books, and remember to lock all the windows and doors. I will leave the keys with you.' So, off the husband went, and the wife first locked ALL the windows and doors. Next, she turned on the radio, and this is what she heard on the news report:
'THERE IS A MURDERER ON THE LOOSE. HE WAS LAST SEEN ON THE HIGHWAY, WEARING ALL BLACK, ABOUT 5 FOOT 11 INCHES. PLEASE, BE AWARE AND CONTACT THE POLICE IMMEDIATELY.' The wife got very scared. She turned off the radio and double-checked the locked doors. Then she saw the murderer, only a couple of feet away from the car. An hour later, the husband returned to his car. Inside the car, his wife was DEAD, she had been murdered. All the windows were still locked, and the doors. No windows were broken, and the car was in PERFECT condition. No scratches or anything, it was the same way as when he left it. How did the murderer kill the wife?

Asked by Neha on 13 Jul 2023

John went to a parrot shop in Mexico, and the parrot owner told him that his parrot is so unique that he repeats everything he hears. John got excited and immediately bought the parrot. John went home and spoke many words, but the parrot does not repeat anything.
He went again to the parrot shop and complaint to the shopkeeper, but the shopkeeper never lied. Explain?

Asked by Neha on 18 Oct 2024


I am a type of word that is spelt incorrectly or used differently, on purpose for humour. What am I?
Hint 1: You can find me in a joke.
Hint 2: I am a play on words.

Asked by Neha on 28 Sep 2025

If you toss a coin 10 times and it lands heads up every time, what are the chances it will land heads up if you toss it again?

Asked by Neha on 23 Sep 2021

A man has to get a fox, a chicken, and a sack of corn across a river.

He has a rowboat, and it can only carry him and one other thing.
If the fox and the chicken are left together, the fox will eat the chicken.
If the chicken and the corn are left together, the chicken will eat the corn.

How does the man do it?

Asked by Neha on 04 May 2021


There are three houses in a straight row. One is red, one is blue, and one is white. The red house is left of the middle. The blue house is right of the middle. Where's the white house?

Asked by Neha on 25 Jul 2021

Hot Articles

Amazing Facts

Crossword

The day before the 1996 U.S. presidential election, the NYT Crossword contained the clue “Lead story in tomorrow’s newspaper,” the puzzle was built so that both electoral outcomes were correct answers, requiring 7 other clues to have dual responses.