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 wrong in the below Picture?

Find the wrong in Picture

Asked by Neha on 12 Feb 2023


Assume the given figure to be a delicious doughnut. Yes, now you can concentrate more on the puzzle. So you have this delicious doughnut in your refrigerator when your friends come knocking at the door. There are eight of them. Now you have to make three cuts in this doughnut so that each one of you nine people can enjoy a piece of it. Neither you nor your friends would mind the size of their piece as long as they are getting it. How will you do it?

Doughnut Distribution

Asked by Neha on 10 May 2024

A man is sitting in a pub feeling rather poor. He sees that the man next to him is extremely rich. He turns to the rich man and says to him, 'I have an amazing talent; I know almost every song that has ever existed.'
The rich man laughs.
The poor man says, 'I am willing to bet you all the money you have in your wallet that I can sing a genuine song with a lady's name of your choice in it.'
The rich man laughs again and says, 'OK, how about my daughter's name, Joanna Armstrong-Miller?'
The rich man goes home poor. The poor man goes home rich.

What song did he sing? A man is sitting in a pub feeling rather poor. He sees the man next to him pull a wad of £50 notes out of his wallet. He turns to the rich man and says to him, 'I have an amazing talent; I know almost every song that has ever existed.' The rich man laughs. The poor man says, 'I am willing to bet you all the money you have in your wallet that I can sing a genuine song with a lady's name of your choice in it.' The rich man laughs again and says, 'OK, how about my daughter's name, Joanna Armstrong-Miller?' The rich man goes home poor. The poor man goes home rich. What song did he sing?

Asked by Neha on 01 Feb 2026


Irene killed hundreds of people mercilessly and yet the police were not able to put her behind the bars. Why?

Asked by Neha on 05 Feb 2024

I know a 5-digit number having a property that With a 1 after it, it is three times as large as it would be with a one before it.

Guess the number?

Asked by Neha on 06 Apr 2025

Find the last number in the series below:

voN luJ yaM raM ---

Asked by Neha on 05 Jun 2023


How could a baby fall out of a twenty-story building onto the ground and live?

Asked by Neha on 07 Nov 2023

I never stop running even when I standstill. If I am formed by joining two identical bodies together, can you guess who I am?

Asked by Neha on 28 Mar 2023

Two friends decide to get together; so they start riding bikes towards each other. They plan to meet halfway. Each is riding at 6 MPH. They live 36 miles apart. One of them has a pet carrier pigeon and it starts flying the instant the friends start traveling. The pigeon flies back and forth at 18 MPH between the 2 friends until the friends meet.

How many miles does the pigeon travel?

Asked by Neha on 02 Aug 2021


Some friends went on a vacation to a resort. It was raining heavily and it kept raining for thirteen days.

When it rained in the morning, the afternoon was beautiful and when it rained in the afternoon, the day was blessed with a clear morning.

Overall, the friends experienced eleven nice mornings and twelve nice afternoons. Can you find out the number of days they spent on vacation?

Asked by Neha on 08 Jun 2024

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.