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 is red and smells like blue paint?

Asked by Neha on 22 Jul 2025


Can you find the missing letter in the sequence?
S - T - I - L - ? - T - F - Y - C

Asked by Neha on 04 Oct 2025

A murder has been committed in a house. You are a detective and have to find out the murderer.

You investigate by asking three questions to each of the six suspects. Out of those six suspects, four are liars. It is not necessary that they speak everything a lie. But in their answers, there must be at least one lie. One of the six is the murderer.

There are eight rooms in the house in which the murder has been committed: Kitchen, Living Room, Bathroom, Garage, Basement, 3 Bedrooms.

At the time of the murder, only the murderer was present in the killing room. Any number of people can be present in any of the other rooms at the same time.

Can you identify the murderer and the four liars? Also, can you find out who was in which room?

The responses of all the suspects are mentioned below.

Joseph:
Peter was in the 2nd bedroom.
So was I.
David was in the bathroom.

Mandy:
I agree with Joseph that David was in the bathroom and Peter was in the 2nd bedroom.
But I think that Joseph was in the living room, OH MY GOD!

Peter:
Mandy was in the kitchen with Christopher.
But I was in the bathroom.

David:
I still say Peter was in the 2nd bedroom and Jennifer was in the bathroom.
Joseph was in the 1st bedroom.

Jennifer:
Peter was in the bathroom with Christopher.
And Mandy was in the kitchen.

Christopher:
David was in the kitchen.
And I was in the 2nd bedroom with Peter.

PS: The corpse was found in the Living Room.

Asked by Neha on 22 May 2023


There's a day, that comes around once a year.
To celebrate the man, you hold dear.
He gave you life, love and will pick you up if you fall.
When it comes to guys like him, He's the best of all.
Who is he?

Asked by Neha on 14 May 2021

Can you name four days which start with the letter 'T'?

Asked by Neha on 20 Nov 2024

At the local model boat club, four friends were talking about their boats.

There were a total of eight boats, two in each colour, red, green, blue and yellow. Each friend owned two boats. No friend had two boats of the same colour.

Alan didn't have a yellow boat. Brian didn't have a red boat but did have a green one. One of the friends had a yellow boat and a blue boat and another friend had a green boat and a blue boat. Charles had a yellow boat. Darren had a blue boat, but didn't have a green one.

Can you work out which friend had which coloured boats?

Asked by Neha on 15 Jan 2024


Find out the number of circles in the given picture having Illusion

How many circles do you see?

Asked by Neha on 20 Apr 2021

In Greek mythology, the Sphinx sat outside of Thebes and asked this riddle of all travellers who passed by. If the traveller failed to solve the riddle, then the Sphinx killed him/her. And if the traveller answered the riddle correctly, then the Sphinx would destroy herself. The riddle:

What goes on four legs in the morning, on two legs at noon, and on three legs in the evening?

Oedipus solved the riddle, and the Sphinx destroyed herself.

Asked by Neha on 26 Jul 2024

In the city of Brain Teasers, 5% of people do not list their phone numbers. Now if we select random 100 people from the phone directory, then how many people selected will have unlisted phone numbers?

Asked by Neha on 30 Oct 2023


You Throw The Outside, Cook The Inside
Eat The Outside, Throw The Inside.

What Is It?

Asked by Neha on 27 Jun 2023

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.