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

John killed hundreds of people mercilessly and yet the police were not able to put her behind the bars. Why?

Asked by Neha on 02 Nov 2024


Sachin bought a car with a strange 5 digit numbered plate.The water image of the number is 78633 more than my car number. All the digits of car number are distinct.

What is the original number on number plate?

Car Number Riddle

Asked by Neha on 13 Mar 2021

You want to boil a two-minute egg. If you only have a three-minute timer (hourglass), a four-minute timer and a five-minute timer, how can you boil the egg for only two minutes?

Asked by Neha on 17 May 2021


There is a dressing drawer which contains the following coloured socks in pairs: Purple, Magenta, Crimson, White, Yellow and Turquoise. Now, the socks are paired and each pair is together in the matching set. There is no light in the room and you open the drawer and pick up a pair. Then, without noticing any colour, you keep them back and pick them up again.

Can you calculate the probability that the pair of socks was Yellow both times?

Asked by Neha on 18 Jul 2026

What's the next in the series?

H, Be, F, S, Mn, Kr, In, Gd, Tl, ?

Asked by Neha on 17 Oct 2023

A man started to town with a fox, a goose, and a sack of corn. He came to a stream which he had to cross in a tiny boat. He could only take one across at a time. He could not leave the fox alone with the goose or the goose alone with the corn. How did he get them all safely over the stream?

Asked by Neha on 05 Mar 2022


I am a word that begins with the letter “i.” If you add the letter “a” to me, I become a new word with a different meaning, but that sounds exactly the same. What word am I?

Asked by Neha on 19 Mar 2025

81 x 9 = 801. What must you do to make the this equation true?

Asked by Neha on 03 Oct 2021

Six glasses are in a row. The first three are filled with milk and the last three are empty. By moving only one glass, can you arrange them so that the full and the empty glasses alternate?

Asked by Neha on 23 Sep 2023


I make two people out of one. What am I?

Asked by Neha on 29 Mar 2022

Hot Articles

Amazing Facts

Crossword puzzles

In the 1920s, people feared that crossword puzzles would contribute to illiteracy.