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

John was a very careless driver, so his owner Jacob gave him an offer that he will get an incentive of Rs.30 for every bottle box he delivered without breaking it and he will be charged Rs.90 for every bottle box he broke. Jacob gave John 100 bottles-box to deliver. After delivery, Jacob paid John Rs.2400. How many bottles-box did John break?

Asked by Neha on 28 Sep 2023


How can you make a TV, a bed, a dog, and a car liquid?

Asked by Neha on 27 Mar 2024

What does man love more than life, and hate more than death or mortal strife; that which satisfied men want; the poor have, and the rich require; the miser spends, the spendthrift saves, and all men carry to their graves?

Asked by Neha on 23 Jun 2025


Chef Andrea has to light the kitchen stoves to open her restaurant for the day. There are three stoves in the kitchen: A glass stove, a brick stove, and a wood stove. She only has one match. Which does she light up first?

Asked by Neha on 24 Jun 2025

Count the number of triangles in the picture below:

Counting You Should Know

Asked by Neha on 16 Jul 2024

Sherlock Holmes was challenged to make a pre-drawn line smaller without erasing it. He did it in fractions of seconds. How?

Asked by Neha on 12 Apr 2023


Andrew’s doctor gives him three pills and tells him to take one every half hour. How much time will have passed by the time Andrew’s taken all three pills?

Asked by Neha on 22 Jun 2025

Consider this: Arnold Schwarzenegger has a big one. Michael J. Fox has a small one. Prince doesn’t have one. The Pope has one but never uses it. Bill Clinton has one and uses it all the time. What is it?

Asked by Neha on 29 Jun 2025

A man started to town with a fox, a goose, and a sack of corn. He came to a stream which he had to cross in a tiny boat. He could only take one across at a time. He could not leave the fox alone with the goose or the goose alone with the corn. How did he get them all safely over the stream?

Asked by Neha on 05 Mar 2022


What came first, the chicken or the egg?

Asked by Neha on 29 Dec 2025

Hot Articles

Amazing Facts

Gambling

In Canada, a mathematical puzzle must be solved in order to win the lottery to classify it as a “game of skill” not gambling.