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

Solve the counting riddle by identifying the number of triangles in the given picture.

Count the Triangle Riddle

Asked by Neha on 26 Feb 2026


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

There is one thing that goes round the house and also inside the house but never even share a brief touch. What is it?

Asked by Neha on 28 May 2021


Vin Diesel is pulling a theft and has planned to run away with all the cash kept in the safe. But the only way to open the safe is the 13 character password. He has a set of five clues given to him by a trustworthy source.

Exactly two of the below statements are false.
The password is contained within this sentence.
The password is not in this hint.
The password is within only one of these statements.
At least one of the above statements is a lie.

Asked by Neha on 01 Jun 2023

A cat, a dog and a monkey were stolen. 3 suspects got caught: Harish, Manoj and Tarun. All we know is each person stole one animal, but we do not know who stole which. Here are the investigation statements. Harish said: Tarun stole the cat. Manoj said: Tarun stole the dog. Tarun said: They both were lying. I did not steal the cat or the dog. Later on, the police found out the man who stole the monkey told a lie. The man who stole the cat told the truth. Can you find out who stole which?

Asked by Neha on 05 Nov 2023

In the given figure, move three matchsticks so that the resulting figure contains two rectangles.

Matchsticks Rectangles

Asked by Neha on 25 Jul 2024


If you say my name, I will no longer exist. What am I?

Asked by Neha on 18 Dec 2023

Baseball bat and ball cost $100. If the bat cost $99 more than the ball, what is the cost of each?

Asked by Neha on 23 May 2021

In a Society, there are over 100 flats.

Flat 1 is named the first flat.
Flat 2 is named the second flat.
Flat 3 is named the third flat. And So On.....

A visitor decides to walk through all the flats, and he finds all the flats except flat 62.
Anmol later founds that the locals of the town have given it another name.

What is the name of the Flat?

Asked by Neha on 05 Jun 2024


What is harder to catch the faster you run?

Asked by Neha on 17 Sep 2021

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.