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

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


1. How can we put an elephant in the refrigerator?
2. How can we put a Giraffe in a refrigerator?
3. The king of the jungle invites all the animals to a party everyone comes except for one animal, which animal?
4. You come to a crocodile-infested lake, you can't go around it, you can't co under it and you can't go over it, how do you get across?

Asked by Neha on 25 May 2023

This is a most unusual paragraph. How quickly can you find out what is so unusual about it? It looks so ordinary, you'd think nothing was wrong with it. Actually, nothing IS wrong with it. But it is not as ordinary as you might think. If you think about it for a bit, you will find out why it is truly so unusual. So what is it? What is so unordinary about this paragraph?

Asked by Neha on 02 May 2022


A word I know,
Six letters contain,
Subtract just one,
And twelve is what remains.

Asked by Neha on 18 Feb 2024

You find yourself in a strange place guarded by two guards.One of the guard always say truth while other always lies.You don't know the identity of the two.You can ask only one question to go out from there. What should you ask?

Two Door Two Guard

Asked by Neha on 06 Mar 2021

I have an apple tree , number of apple in this tree get doubles every week.

On 30th week , the tree gets completely filled with apples :-)



Can you tell me , on what week does my tree is half covered with apples ?

Asked by Neha on 28 Feb 2021


A newspaper is supposed to have 60 pages.Pages 14 and 21 are missing from the newspaper.

Can you tell me , Which other pages won't be there as well ?

Asked by Neha on 07 Feb 2023

I can sizzle like bacon,
I am made with an egg,
I have plenty of backbone, but lack a good leg,
I peel layers like onions, but still remain whole,
I can be long, like a flagpole, yet fit in a hole.

Asked by Neha on 07 Dec 2023

John was so frustrated to be the suspect of being a sleeper terrorist that he shoot himself right between the eyes with a revolver in his toilet. The revolver and the bullets were accurate. Minutes later John walks out of the toilet unharmed.
How can this be possible?

Asked by Neha on 15 Nov 2023


An inspection by the superintendent of St. Joseph School was scheduled on the next day. The class teacher Jenifer knew that he would be asking questions from her class and she would have to choose a pupil to answer. To offer a perfect impression over him, the teacher explained certain instructions to the students to maximise the chances of getting correct answer every time.

What did she say to the students?

Asked by Neha on 14 Jul 2021

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.