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

Known by all without exception, Forever here, for your protection, Sometimes strong, sometimes weak, Right after the night I come - hot and chic. And while millions of miles away, I always get to you, I find my way. No life around could do without me, Can you guess what I might be?

Asked by Neha on 05 Apr 2022


Count the number of squares in the picture below.

Count The Magic Squares

Asked by Neha on 14 Dec 2024

Decode below three cipher riddles:

26 L of the A
7 D of the W
1000 Y in a M

Asked by Neha on 17 May 2021


My first is in chocolate but not in ham. My second is in cake and also in jam. My third at tea time is easily found. Altogether, this is a friend who is often around. What is it?

Asked by Neha on 26 May 2025

There are a hundred statements.

First person says: At least one of the statements is false.

Second person says: At least two of the statements is false.

Third person says: At least three of the statements are false.

Fourth person says: At least four of the statements are false.

..

..

..

Hundredth person says: At least a hundred of the statements are false.

Analysing it, how many statements do you think are false and how many are true?

Asked by Neha on 18 Feb 2021

Solve the puzzle by telling what does below picture means.

Solve by Name Puzzle

Asked by Neha on 28 Nov 2025


What is the Surname of Barbie Doll?

Asked by Neha on 25 Jul 2023

It spends most of its day eating white, but when it’s quick enough, it gets to eat fruit and sometimes some blue things. It’s in a dark room, where the walls are blue, it runs from a ghost that roams the halls and haunts it all the time. What is it?

Asked by Neha on 30 May 2025

Different lights make me strange by changing me into different sizes. What am I?

Asked by Neha on 09 Sep 2025


John bought a new car. He has a habit of eating ice cream from a particular ice cream shop while returning home from office. Whenever, he eats strawberry ice cream, he faces no problem. But whenever, he eats chocolate ice cream, the car starts giving problem. At first, he thinks, it is just a co-incidence but when this awkward incident happens for 3-4 times, he reports this problem to the company.

The mechanic of the company checks but finds no problem at all. The next day, when he stops by to eat chocolate ice cream, the car again starts giving problem.

Can you find the possible reason?

Asked by Neha on 17 Sep 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.