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

A man was just doing his job when his suit was torn. Why did he die three minutes later?

Asked by Neha on 15 Sep 2021


Mr. Buttons was all set to go to the village of Buttonland to meet his friend. So, he packed his bags and left for the village at 5 in the morning. Upon travelling on a road for miles, he came across a point where the road diverged into two. He was confused on which road to take. He gazed around and he saw two owls sitting on a branch. He thought he could ask for directions for the village from the two owls. So he went to the tree. There he saw a sign which read, "One owl always lies, and one is always truthful. They both fly away if you ask them more than 1 question."
Mr. Buttons was caught in the dilemma of what to ask? And from which owl to ask, since he only had one question. What should Mr. Buttons ask?

Asked by Neha on 18 Aug 2021

Give it food and it will live; give it water and it will die.

Asked by Neha on 17 Dec 2023


Two old friends, Jack and Bill, meet after a long time.

Three kids
Jack: Hey, how are you, man?
Bill: Not bad, got married and I have three kids now.
Jack: That's awesome. How old are they?
Bill: The product of their ages is 72 and the sum of their ages is the same as your birth date.
Jack: Cool..But I still don't know.
Bill: My eldest kid just started taking piano lessons.
Jack: Oh, now I get it.

How old are Bill's kids?

Asked by Neha on 21 Apr 2021

I have branches, but no fruit, trunk or leaves. What am I?

Asked by Neha on 18 May 2022

Can you find out which options fits best with the missing column?

Fit the Blocks

Asked by Neha on 28 Dec 2020


What can run but never walks, has a mouth but never talks, has a head but never weeps, has a bed but never sleeps?

Asked by Neha on 17 Mar 2025

In the picture given below, can you find out which digit will take place of the question mark?

Replace the Question Mark

Asked by Neha on 10 Nov 2025

How can you write nineteen in a manner that if we take out one, it becomes twenty?

Asked by Neha on 23 Nov 2023


Most people think of me as money. But when they find me in the water, they won’t get any money out of me. What am I?

Asked by Neha on 26 Oct 2025

Hot Articles

Amazing Facts

Rubik’s Cube

The inventor of the Rubik’s Cube didn’t realize he’d built a puzzle until he scrambled it the first time and tried to restore it.