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

Thirty friends were on a hiking trip when they decided to enjoy the bonfire. They assembled for it and agreed to play a game. For that, they divided themselves into five teams with seven members each, forming five rows.

How did they manage to achieve this formation?

Asked by Neha on 07 Oct 2024


You have a roll of cloth 1km long. You have a machine which cuts this roll into pieces of 10-meter-long cloth.

How long would it take for the machine to cut the roll if each cut took 4 secs?

Asked by Neha on 15 Aug 2024

Identify the 10 differences between the two given pictures.

Pictures to Identify

Asked by Neha on 22 Dec 2023


A woman shoots her husband.

Then she holds him under water for over 5 minutes.

Finally, she hangs him.

But 5 minutes later they both go out together and enjoy a wonderful dinner together.

How can this be?

Shoot to Kill

Asked by Neha on 20 Mar 2021

It's a protector.
It sits on a bridge.
One individual can see directly through it, while others wonder what it hides.

What is it?

Asked by Neha on 21 Sep 2023

I am a ten letters word
The first four letters have the power to rule,
Next, four-letter can be eaten.
The next three-letter represents a lady.
I can fly as well

what am I looking for?

Asked by Neha on 05 Jul 2023


Pronounced as 1 letter, And written with 3, 2 letters there are, and 2 only in me. I’m double, I’m single, I’m black blue and grey, I’m read from both ends, and the same either way. What am I?

Asked by Neha on 08 Aug 2025

Find The Next Number In The Sequence

30 10 15 13 0 16 -15 ?

Asked by Neha on 20 Aug 2024

Andrew sees a very rare bird named "Ruppell's vulture". Soon Andrew was dead. Can you explain the mystery, Mr. Sherlock?

Asked by Neha on 13 Dec 2025


In a guessing game, five friends had to guess the exact numbers of apples in a covered basket.
Friends guessed 22, 24, 29, 33, and 38, but none of the guesses was correct. The guesses were off by 1, 8, 6, 3, and 8 (in random order).

Can you determine the number of apples in a basket from this information?

Asked by Neha on 23 Mar 2024

Hot Articles

Amazing Facts

Challenging

There is a cryptic organization called Cicada 3301 that posts challenging puzzles online, possibly to recruit codebreakers and linguists.