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

How will you measure 15 minutes using two hourglasses of 7 minutes and 11 minutes respectively?

Asked by Neha on 07 Sep 2023


Can you find the dog hidden in a group of pandas?

Dog amongst Pandas

Asked by Neha on 16 Feb 2025

Can you spot what's wrong with the following sentence?

PETER WAS ANGRY AT
HIMSELF BECAUSE HE
ACCIDENTALLY LEFT THE
THE KEYS TO HIS CAR
AT HIS FRIEND'S HOUSE.

Asked by Neha on 03 May 2022


James ordered a fishing rod, priced at $3.56. Unfortunately, James is an Eskimo who lives in a very remote part of Greenland and the import rules forbid any package longer than 4 feet to be imported. The fishing rod was 4 feet and 1 inch, just a little too long, so how can the fishing rod be mailed to James without breaking the rules? Ideally James would like the fishing rod to arrive in one piece!

Asked by Neha on 11 Apr 2022

Can anyone tell me a word in the English dictionary which has a silent 'z'?

Asked by Neha on 13 Jan 2024

A man lives on the fifteenth floor of an apartment building. Every morning he takes the elevator down to the lobby and leaves the building. In the evening, he gets into the elevator, and, if there is someone else in the elevator, or if it was raining that day, he goes back to his floor directly. Otherwise, he goes to the tenth floor and walks up five flights of stairs to his apartment. Can you explain why he does this?

Asked by Neha on 09 Apr 2024


John is looking at Jenifer, but Jenifer is looking at Jacob. John is married, but Jacob is not.

Is a married person looking at an unmarried person ?

Asked by Neha on 08 Feb 2021

Lifeless eyes on my smiling face and watch your child's sleeping place. In their dreams they hold me tight. What am I?

Asked by Neha on 17 Oct 2021

A non-stop marathon is the shared favourite sport of three brothers.

*The oldest one is fat and short and trudges slowly on.
*The middle brother's tall and slim and keeps a steady pace.
*The youngest runs just like the wind, speeding through the race.

"He is young in years, we let him run!" the other two brothers explained, "'because though he is surely number one, he is second, in a way." Why is it?

Asked by Neha on 03 Apr 2024


The richest man in the city Mr Rechard is kidnapped. James Bond is appointed to the case. At the crime scene, a note is found written by Mr Richard. The note read:

"First of January, Fourth of October, Fifth of March, Third of June."

James Bond knew that somehow, the killer's name was hidden in the note. The following were the suspects:

Jack Richard, the son and the heir of property.
John Jacobson, the employee of Richard.
June Richard, the wife of Richard.

James Bond took only a few moments to deduce the killer's name. Can you tell who was the killer?

Asked by Neha on 03 Jul 2024

Hot Articles

Amazing Facts

Gamers

In 2011, people playing Foldit, an online puzzle game about protein folding, resolved the structure of an enzyme that causes an Aids-like disease in monkeys. Researchers had been working on the problem for 13 years. The gamers solved it in three weeks.