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

As easy as you can get into me, it is as hard to get out of me.

Do you know what I am?

Asked by Neha on 23 Apr 2023


Spelt forwards I’m what you do every day, spelled backwards I’m something you hate. What am I?

Asked by Neha on 26 Jul 2025

In the addition below, all digits have been replaced by letters. Equal letters represent equal digits and different letters represent different digits.
ABCABA
BBDCAA
ABEABB
ABDBAA
------- +
AAFGBDH
What does the complete addition look like in digits?

Asked by Neha on 04 Jul 2023


We have shown you a regular water barrel as below. Without using any measuring device can you check if the barrel is more than half-filled or less than half-filled?

Half Filled barrel

Asked by Neha on 10 May 2023

What is the word or phrase below?
R | E | A | D

Asked by Neha on 28 Jul 2024

Find the last number in the series below:

voN luJ yaM raM ---

Asked by Neha on 05 Jun 2023


You and your two friends are working in a multinational company. How can you three find out the average salary of you all without disclosing your own salary to the other two?

Asked by Neha on 26 Nov 2025

Be active and find the killer in the picture Riddle below.


Who is Killer

Asked by Neha on 17 May 2021

When we see 2 but call 10?

Asked by Neha on 14 Oct 2023


Jigsaw captured 100 people and make them stand in a circle and all these people are labelled as Person1, Person2, Person3... Person100. He made them play a crazy game in which Person 1 shot Person 2 and pass the gun to the next person and so on until one stands alive.

Which person will survive in the end?

Asked by Neha on 23 Sep 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.