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

A and B have a certain number of chocolates with them. If B gives one chocolate to A, they will have an equal number of chocolates. But if A gives one chocolate to B, then A will be left with half the number of chocolates that B has.

Can you find out the number of chocolates they have right now?

Asked by Neha on 02 Apr 2023


Sally lives in a place where six months of the year is mild summer and the temperature drops significantly the other six months. She owns a lake where there is a small island. She wants to build a house on the island and needs to get materials there. She doesn’t have a boat, plane, or anything to transport them to the island. How does Sally solve this problem?

Asked by Neha on 09 Jun 2025

If,

A + B = C
D - C = A
E - B = C

Based on the above equations, find out the answer for:

D + F = ?

Asked by Neha on 01 Jan 2026


You are provided with a grid (as shown in the picture). Can you fill the squares with numbers 1-8 in a manner that none of the two consecutive numbers are placed next to each other in any direction (vertically, horizontally or diagonally?)

Fill The Grid

Asked by Neha on 22 Sep 2025

This is a simple one. You just have to count the number of Fs in the given sentence.

Finished Files are the result of years of scientific study combined with the experience of years.

How many did you count?

Asked by Neha on 02 Oct 2024

What jumps when it walks and sits when it stands?

Asked by Neha on 27 Oct 2025


A man who was outside in the rain without an umbrella or hat didn’t get a single hair on his head wet. Why?

Asked by Neha on 16 May 2022

I am lying and I always lie. Tell me whether I am lying or telling the truth.

Asked by Neha on 31 Dec 2024

On 26-01-2022, Juli was murdered at her house in a city in India in the afternoon. There were three suspects in the murder and the following are the statements that were given by them:

John: I visited my village that day.
Jacob: I was out to deposit my house tax in the municipality office at that time.
Jonny: I was at a friend's place having lunch at that time.

Can you find out who is the murderer?

Asked by Neha on 15 Dec 2023


Can you name three consecutive days without using the words Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, or Sunday?

Asked by Neha on 24 Mar 2022

Hot Articles

Amazing Facts

Jigsaw puzzles

Jigsaw puzzles soared in popularity during the great depression, as they provided a cheap, long-lasting, recyclable form of entertainment.