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

In a kingdom, King George did not allow any citizen to visit the world outside. Also, only a person with proper paperwork was allowed to enter or he was sent back. A wooden bridge was what connected the kingdom to the world. The king had appointed a sharpshooter who would check the every five minutes on the bridge to check. After checking, he would go back to his hut and return exactly after five minutes again. The bridge took 9 minutes to cross.

A merchant was able to escape the kingdom without harming the shooter. How?

Asked by Neha on 04 May 2024


Pronounced as one letter,
And written with three,
Two letters there are,
And two only in me.
I am double, I am single,
I am black blue and grey,
I am read from both ends,
And the same either way.

Asked by Neha on 01 Oct 2024

A deaf and mute man goes to the train station. Tickets for the train are 50 cents each. The man goes to the ticket booth and hands the man inside just a dollar. The man in the booth hands him two tickets.

How did the man in the booth know to give him two tickets without even looking at him?

deaf and mute man at train station riddle

Asked by Neha on 14 Mar 2021


Buy me, smell me or deliver me, I do not change.

Who am I?

Asked by Neha on 19 Feb 2024

A pet show was happening in my locality. I went down along with my kids. In that show, I noticed that all except two of the entries were cats. All except two were dogs and all except two were Monkeys.

Can you find out how many of each animals were present in that pet show?

Asked by Neha on 04 Feb 2021

One fine day, an intellectual man came to the emperor's court with the aim of testing Birbal's wittiness. In order to do this, he challenged Birbal to answer his question and hence prove that he was as intelligent and witty as he was said to be.
He asked Birbal, Do you want me to ask one difficult question or a hundred easy ones?
Since both Akbar and Birbal had had a tough day and were eager to leave, Birbal hastily told the intellectual to ask him a single difficult question.
Intellectual: OK. Tell me what came first into the world, the egg or the chicken?
Of course, the chicken, Birbal replied with a smile.
This time with a note of victory in his voice, the intellectual asked Birbal, How will you demonstrate that?
What did Birbal say?

Asked by Neha on 17 May 2021


Only one color, but not one size,
Stuck at the bottom, yet easily flies.
Present in sun, but not in rain,
Doing no harm, and feeling no pain.
What is it?

Asked by Neha on 14 May 2021

If you had a pizza with crust thickness 'a' and radius 'z', what's the volume of the pizza?

Asked by Neha on 30 May 2024

You know three triplets: Frank John and Wayne (need to return your money). Frank always tells the truth while John and Wayne always lie. You meet one of them on the road and can ask him a three-word question.
Which question, will you ask?

Asked by Neha on 21 Mar 2023


I am a number I am not an odd number I am higher than 90 I am not higher than 100 If you subtract me from 100, you get nothing. What number am I?

Asked by Neha on 21 Feb 2022

Hot Articles

Amazing Facts

Out of the Box

The phrase “thinking outside the box” was popularised from the solution to a topographical puzzle involving 9 dots in a box shape.