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

Can you complete the sequence?

192, 021, 222, 324, 252, 627, 2__, 9__?

Asked by Neha on 07 Nov 2025


What do you call a fish without an eye?

Asked by Neha on 21 Apr 2023

Can you find out the remainder when 3^300 is divided by 5?

Asked by Neha on 31 Oct 2023


In a boat, the father of a sailor's son is sitting with the son of the sailor. However, the sailor is not present on the boat.

Can this even be possible?

Asked by Neha on 24 May 2024

Which is the correct shadow of the bird?

Correct Shadow Riddle

Asked by Neha on 23 Aug 2021

There was a blind man. He had four socks in his drawer either black or white. He opened it and took out two socks. Now the probability that it was a pair of white socks is 1/2.

Can you find out the probability that he had taken out a pair of black socks ?

Asked by Neha on 19 Mar 2023


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

Solve the mathematical equation in the picture below.

Math Equation Picture

Asked by Neha on 16 May 2023

The following "Brain Bat" means Slow Down.
S
L
O
W

Using the same logic, can you tell us what does the following Brain Bat means ?
E
V
I
G

Asked by Neha on 14 May 2021


How many bricks does it take to complete a building that is 15 feet wide, 30 feet deep, and 12 feet tall made of brick?

Asked by Neha on 23 Feb 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.