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

An office is divided into 8 cubicles. How many of the cubicles are painted if only 1/8 of the cubicles are painted?

Asked by Neha on 23 Feb 2022


If Bihan is 10, Anirudha is 20, and Kim and Seal are both 5, but Rikold is 10, how much is Kenniger by the same trend?

Asked by Neha on 06 Sep 2024

While sitting in the Car, John suddenly finds that one of the wheels was missing. John noticed that a killer is approaching towards him. John cannot get out of the car.

How will John escape?

Asked by Neha on 14 Jan 2021


A small town is visited by an ice-cream truck every day. On the first day of February, the truck visits as usual and 5 children, one from each of the first 5 houses on the street buys an ice cream that is of the different flavor from each other along with a completely different topping.

Go through the details below and find out which child lives in which house and bought which ice-cream flavor with which topping:

1. Jim lives between the child who bought the Raspberry topping and the child who bought mango ice cream.

2. Joyce, whose house has an even number, bought the cherry topping. Nancy does not live next to Joyce.

3. The blackcurrant ice cream had no topping.

4. The child who lives in house number 2 had the butterscotch ice cream. The child in house number 3 did not have chocolate ice cream.

5. Mike had banana ice cream. He hates banana cherry.

6. The child who had the cashew topping lives in house number 5. Dustin does not live in house number 4.

Please note that the odd numbered houses and the even numbered houses are located on the exactly opposite sides of the street.

Asked by Neha on 27 Jul 2021

Three fair coins are tossed in the air and they land with heads up. Can you calculate the chances that when they are tossed again, two coins will again land with heads up?

Asked by Neha on 28 Mar 2024

Take one out and scratch my head, I am now black but once was red. What am I?

Asked by Neha on 29 Jul 2025


You see me once in June, twice in November, and not at all in May. What am I?

Asked by Neha on 31 Jul 2025

what's the probability of getting a king or a queen from a pack of 52 cards?

Asked by Neha on 27 Sep 2024

It's a protector.
It sits on a bridge.
One individual can see directly through it, while others wonder what it hides.

What is it?

Asked by Neha on 21 Sep 2023


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

ST ND RD TH '?'

Asked by Neha on 14 Jan 2026

Hot Articles

Amazing Facts

No Solution

In 2007, a puzzle was released and $2 million prizes were offered for the first complete solution. The competition ended at noon on 31 December 2010, with no solution being found. Wiki