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

You are given 16 witch hats. The hats are divided in four different colours – red, blue, green and yellow. Every colour has been assigned to four hats. Now each of the hat will be glued with a label of an arithmetic sign – ‘+’, ‘-‘, ‘x’ or ‘/’. But you can label one sign only once on one colour. In such an arrangement, the hats can be uniquely defined by its colour and symbol.

Can you arrange all the 16 hats in a 4x4 grid in a fashion that no two rows and columns have a repetition of colour or sign?
We have arranged four hats in the below picture to assist you.

Arrange Hats in Squares

Asked by Neha on 17 May 2021


Its something that each of us devours,
Not just us but birds, beats, trees, and flowers,
Frets iron and nibbles steel,
Toil hard stones to meal,
Exterminates king, collapse town,
And blows the mountains down.

Asked by Neha on 20 Mar 2023

Can you identify if it's a murder or a suicide ?


Murder or Suicide?

Asked by Neha on 17 May 2021


The following question it puts forth you:

25 - 55 + (85 + 65) = ?

Then, you are told that even though you might think it's wrong, the correct answer is actually 5!

Whats your reaction to it? How can this be true?

Asked by Neha on 07 Jun 2024

A cricket has 6 legs, a squirrel has 4 legs and a spider has 8 legs.

In a local zoo, it was found that the total number of legs is 612. Also, there are equal number of each of the above animals/insects.

Can you find out how many animals are there in the zoo?

Asked by Neha on 06 Feb 2021

Can you find out who is the kidnapper in below Picture and why, Explain ?

Catch the Kidnapper

Asked by Neha on 17 May 2021


What is common among 11, 69, and 88?

What is common here

Asked by Neha on 15 Sep 2023

In a supermarket, there is an intelligent glass pane before a refrigerating unit. This glass pane allows cherries and apples through it but does not allow grapes and Orange to pass through it.

Can you identify the rule that the glass pane is following?

Asked by Neha on 18 Jul 2024

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


You’re out on the water and see a boat filled with people. You look away for a second and look back again, but this time you don’t see a single person on the boat. Why? Hint: The boat did not sink.

Asked by Neha on 15 Jun 2025

Hot Articles

Amazing Facts

Word ladder puzzle

The word ladder puzzle was invented by Lewis Carroll, author of Alice’s Adventures in Wonderland.