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

Which word is least like the others? Third, fourth, fifth, sixth, seventh, eighth, ninth?

Asked by Neha on 28 Aug 2025


John can eat 27 chocolates in an hour, Jacob can eat 2 chocolates in 10 minutes, and Jolly can eat 7 chocolates in 20 minutes. How long will it take them to share and eat a box of 120 chocolates whilst playing Chess?

Asked by Neha on 09 Sep 2024

Write the next letter in this sequence.
O, T, T, F, F, S, S, E, __
**Hint: It is a Number Series Puzzle

Asked by Neha on 16 Dec 2025


In the picture that is attached with this question, you can find a square which comprises of four little squares inside it. Consider this square to be made with matchsticks. You have to remove two matchsticks such that only two squares remain instead of five.How will you do it ?

Make Two Square

Asked by Neha on 14 May 2021

Find The Missing Number In the Sequence.
6 25 64 ? 32 1

Asked by Neha on 07 Nov 2024

There was a competition where the contestants had to hold something. At the end of the event, the winner was a person who had no hands or feet. What was it that the contestants had to hold?

Asked by Neha on 20 Jun 2025


Consider this about a word: The first two letters signify a male, the first three letters signify a female, the first four letters signify a great, while the entire world signifies a great woman. What is the word?

Asked by Neha on 08 Jun 2025

In a fruit store, there was a unique weighing machine that was made to weigh only cherries and strawberries as they were priced the same.

Other fruits like watermelons or mango had different machines as they were expensive.

A man successfully buys watermelons at the price of cherries. How?

Asked by Neha on 30 Apr 2023

Can you find the least possible number such that

If the number is divided by 3, it gives the remainder of 1;
If the number is divided by 4, it gives the remainder of 2;
If the number is divided by 5, it gives the remainder of 3;
If the number is divided by 6, it gives the remainder of 4.

Asked by Neha on 23 Oct 2024


When my father was 31 I was 8. Now he is twice as old as me. How old am I?

Asked by Neha on 01 Oct 2021

Hot Articles

Amazing Facts

Rubik’s Cube

The inventor of the Rubik’s Cube didn’t realize he’d built a puzzle until he scrambled it the first time and tried to restore it.