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

Find three whole, positive numbers that have the same answer when multiplied together as when added together.

Asked by Neha on 01 Jan 2021


I want to fill my bucket using both cold and hot water.
I have two taps for both cold and hot water. The hot water tap fills the bucket in exact 6 hours and the cold water tap fills the bucket in exact 4 hours.
I turn both of them simultaneously but I forgot to turn off another tap which removes the water out of the bucket. This tap can empty the bucket in 12 hours.

How Long will it take to fill the bucket?

Asked by Neha on 30 Sep 2023

During an interview, the interviewer ordered hot coffee for the candidate to relieve the stress. The coffee was kept before him. After a minute, the interviewer asked him, 'What is before you?' He replied 'Tea'.

The candidate was selected immediately. Why?

Asked by Neha on 16 Jun 2024


Find the next number in the series?
2, 12, 36, 80, 150, 252, 392, _ ?

Asked by Neha on 22 Jan 2024

This is a classy optical illusion puzzle. What more you can find except bricks in the image below?

Brick Optical Illusion

Asked by Neha on 05 Jan 2025

Before Mount Everest was discovered, what was the highest mountain in the world?

Asked by Neha on 04 Aug 2021


On her drawing table, Sayna lit 12 coloured candles. A few seconds later she blew two candles off.

How many candles Sayna have at the end?

Light the Candles

Asked by Neha on 07 Mar 2021

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

There are two arch enemies Messi and Ronaldo who hate each other to an extreme. One day both were going together and a Jeanie appeared in front of them. Jeanie grants 3 wishes to Ronaldo and one to Messi.

Messi replied smartly 'Give me twice whatever Ronaldo demands'.

Ronaldo asked his 1st wish 'Give me 10000 billion dollars. Soon Messi gets 2000 billion dollars.
Ronaldo asked for his 2nd wish 'Give me one mansion in every country in the world. Soon Messi gets two mansions in every country of the world?

What should be Ronaldo's third wish?

Asked by Neha on 02 Mar 2024


What month of the year has 28 days?

Asked by Neha on 08 May 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.