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 Deficiency does the below rebus represent?

VIT_MIN

Asked by Neha on 09 Jun 2024


Can you find out who is the kidnapper in below Picture and why, Explain ?

Catch the Kidnapper

Asked by Neha on 17 May 2021

How many people must be gathered together in a room, before you can be certain that there is a greater than 50/50 chance that at least two of them have the same birthday?

Asked by Neha on 16 Dec 2023


A 3 digit number is such that it's unit digit is equal to the product of the other two digits which are prime. Also, the difference between it's reverse and itself is 396.

What is the sum of the three digits?

Asked by Neha on 13 Dec 2020

A Child was born in Lahore, Pakistan. Still, the child is not a Pakistani citizen. why?

Asked by Neha on 02 Mar 2023

He digs out tiny caves and stores gold and silver in them. He also built bridges of silver and made crowns of gold. They are the smallest you could imagine. Sooner or later everybody needs his help, yet many people are afraid to let him help them. Who is he?

Asked by Neha on 23 Dec 2025


An exterior architect is asked by a builder to plant seven trees in a manner that there are exactly six rows of trees in a straight line and each row has three trees in particular.

How will he do it?

Math Figure Puzzle

Asked by Neha on 03 Apr 2023

The King of a distant land had heard that Birbal was one of the wisest men in the East and so desired to meet Birbal. He sent Birbal an invitation to visit his country.

In due course, Birbal arrived in the distant kingdom. When he entered the palace he was flabbergasted to find not one but six kings seated there. All looked alike. All were dressed in kingly robes. Who was the real king?

The very next moment he got his answer. Confidently, he approached the king and bowed to him.

How did Birbal know who was the real king?

Asked by Neha on 17 May 2021

There are nine dots in the picture that has been attached with this question. Can you join all the dots by drawing four straight lines without picking up your pen?

Dots on Lines

Asked by Neha on 11 Nov 2023


Find the next number in the sequence

5 12 24 36 ?

Asked by Neha on 08 Jul 2023

Hot Articles

Amazing Facts

Word ladder puzzle

The word ladder puzzle was invented by Lewis Carroll, author of Alice’s Adventures in Wonderland.