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

Trying to tease Birbal, Akbar gave him one gold coin and ask him to buy
* something for him to eat
* something for him to drink.
* something to feed the cows
* something to plant in the garden
and most important you need to buy only one thing.

What must Birbal buy to silence Akbar?

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

In a stable, there are men and horses. In all, there are 22 heads and 72 feet. How many men and how many horses are in the stable

Asked by Neha on 29 Jun 2023


Count the Triangle in the figure given below:

Can You Count

Asked by Neha on 04 Jul 2024

What does the following BrainBat signifies?

ABCDEFGHIJKLMNOPQRSTUVWYZ

QQQQQQQQQQQQQQQQQQQQQQQQQ.

Asked by Neha on 21 Jan 2021

Replace the question mark with the correct number below.

Tree Problem

Asked by Neha on 19 Mar 2024


John is 45 years older than his son Jacob. If you find similarities between their ages, both of their ages contain prime numbers as the digits. Also, John's age is the reverse of Jacob's age.

Can you find their ages?

Asked by Neha on 11 Sep 2024

A man was telling some of his war stories to his grandchildren.
"When the World War I was on the verge of end, I was awarded for my bravery for I had saved a group of my men." He coughed and then added, "When we were fighting in northern France, an enemy soldier threw a grenade at us. Before it could explode, I picked it up and threw it away. For my act of bravery, right before the war ended, A General gave me a sword engraved with the words "Awarded for Display of Bravery and Heroism in World War 1"."

Hearing this, one of the grandson spoke up. "Grandpa, this is not a true story. It can"t be true!"

The truth is that it was not. How did the grand children know it?

Asked by Neha on 22 Feb 2023

The Puzzle: A girl, a boy, and a dog start walking down a road.

They start at the same time, from the same point, in the same direction.

The boy walks at 5 km/h, the girl at 6 km/h.

The dog runs from boy to girl and back again with a constant speed of 10 km/h. The dog does not slow down on the turn.
How far does the dog travel in 1 hour?

Asked by Neha on 13 Jan 2026


Count the number of triangles in the given picture.

Find out triangles

Asked by Neha on 28 Mar 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.