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

What has six faces, but does not wear makeup, has twenty-one eyes, but cannot see?

Asked by Neha on 14 Sep 2021


The answer I give is yes, but what I mean is no. What was the question?

Asked by Neha on 04 Sep 2025

I have cities, but no houses. I have mountains, but no trees. I have water, but no fish. What am I?

Asked by Neha on 25 Jul 2025


O_er_t_o_

Complete the missing letters of the given word.

Asked by Neha on 22 Feb 2022

Three people are in a room. Ronni looks at the Nile. The Nile looks at Senthil. Ronni is married but Senthil is not married. At any point, is a married person looking at an unmarried person? Yes, No or Cannot be determined.

Asked by Neha on 01 Nov 2023

What brings you down but never up?

Asked by Neha on 22 Oct 2021


Can you find a rabbit in the given picture?

Hidden Picture Riddle

Asked by Neha on 08 Apr 2023

What does the below rebus riddle means?

Wise Rebus Riddle

Asked by Neha on 04 Jul 2021

Open a Laptop which is password protected. Hint for the password is given as below:

1 mobile 3 books 2 Boards 1 night 4 balls 2 lighters 1 ghost 1 hat 3 watches

Asked by Neha on 06 Apr 2022


John and Jenni are a married couple. They have two kids, one of them is a girl. Assume safely that the probability of each gender is 1/2.
What is the probability that the other kid is also a girl?

Hint: It is not 1/2 as you would first think.

Asked by Neha on 14 Jun 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.