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

How can you make a TV, a bed, a dog, and a car liquid?

Asked by Neha on 27 Mar 2024


A girl is twice as old as her brother and half as old as her father. In 50 years, her brother will be half as old as his father. How old is the daughter now?

Asked by Neha on 21 Jan 2023

People are waiting in line to board a 100-seat aeroplane. Steve is the first person in the line. He gets on the plane but suddenly can't remember what his seat number is, so he picks a seat at random. After that, each person who gets on the plane sits in their assigned seat if it's available, otherwise, they will choose an open seat at random to sit in. The flight is full and you are last in line. What is the probability that you get to sit in your assigned seat?

Asked by Neha on 13 Mar 2024


What is the unique property of the following words ?
* Revive
* Banana
* Grammar
* Voodoo
* Assess
* Potato
* Dresser
* Uneven

Asked by Neha on 20 Aug 2021

Can you solve this amazing hard number series problem?
7, 8, 10, 12, 16, 18 ?

Asked by Neha on 18 Apr 2024

You need to climb ten stairs. At every stair, you can either take one step up or you can jump two steps up.

In how many different ways you can climb 10 stairs?

Asked by Neha on 31 Jan 2025


Can you write down eight eights so that they add up to one thousand?

Asked by Neha on 29 Sep 2021

I am taken from a mine and shut up in a wooden case, from which I am never released, and yet I am used by almost every person. What am I?

Asked by Neha on 24 Mar 2025

What is 3/7 chicken, 2/3 cat and 2/4 goat?

Asked by Neha on 20 Mar 2025


Can you count the number of squares in the given picture?

How Many Squares you Find

Asked by Neha on 13 Feb 2024

Hot Articles

Amazing Facts

Crossword puzzles

In the 1920s, people feared that crossword puzzles would contribute to illiteracy.