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

Three doctors said that Bill was their brother. Bill says he has no brothers. How many brothers does Bill actually have?

Asked by Neha on 01 Mar 2022


In a fruit store, there was a unique weighing machine that was made to weigh only cherries and strawberries as they were priced the same.

Other fruits like watermelons or mango had different machines as they were expensive.

A man successfully buys watermelons at the price of cherries. How?

Asked by Neha on 30 Apr 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


Can you count the number of lines in the below picture?

Count The Number Of Lines

Asked by Neha on 27 Dec 2023

You can see it everyday, But cannot touch it at will. What is it?

Asked by Neha on 17 May 2021

There are two arch enemies Messi and Ronaldo who hate each other to an extreme. One day both were going together and a Jeanie appeared in front of them. Jeanie grants 3 wishes to Ronaldo and one to Messi.

Messi replied smartly 'Give me twice whatever Ronaldo demands'.

Ronaldo asked his 1st wish 'Give me 10000 billion dollars. Soon Messi gets 2000 billion dollars.
Ronaldo asked for his 2nd wish 'Give me one mansion in every country in the world. Soon Messi gets two mansions in every country of the world?

What should be Ronaldo's third wish?

Asked by Neha on 02 Mar 2024


There is a box full of marbles,
all but two are blue,
all but two are green,
and all but two are red.

How many marbles are in the box?

Asked by Neha on 01 Jan 2024

We know that money can be names differently for the purpose it is used for. Some of the examples of money given at following places or for following activities:

In temple = Daan
In school = Fees
During marriage = Dowry
For divorce = Alimony
Paying government = Tax
In court = Fine
Employer to employee = Salary
To kidnappers = Ransom
For illegal reason = Bribe
To civil servant retirees = Pension

Do you know what do we call the money a husband gives to his wife?

Asked by Neha on 12 Jan 2021

I sleep during the day and fly at night, but I have no feathers to aid my flight. What am I?

Asked by Neha on 28 Oct 2025


Solve this riddle by finding the odd one out from the rest.

Odd One Out in the Shapes Riddle

Asked by Neha on 18 Apr 2021

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.