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

Chef Andrea has to light the kitchen stoves to open her restaurant for the day. There are three stoves in the kitchen: A glass stove, a brick stove, and a wood stove. She only has one match. Which does she light up first?

Asked by Neha on 24 Jun 2025


Identify the movie name through below Rebus containing Pi Mouse and coconut tree..

Easy Movie Rebus Riddle

Asked by Neha on 11 May 2021

What does does this rebus picture means ?

Rebus Picture Riddle

Asked by Neha on 03 May 2023


Find the 8 in the below-given Image.

Asked by Neha on 24 Feb 2025

What is 3/7 chicken, 2/3 cat and 2/4 goat?

Asked by Neha on 20 Mar 2025

Below toothpicks/matchsticks indicate the group of fishes moving from west to east direction. Can you make them move from east to west by just moving three toothpicks/matchsticks?


Floating Fish

Asked by Neha on 14 May 2021


In an Art Gallary, When the clock hit 11 am, Artist hung the painting number 30. When it struck 4 pm, he hung painting number 240 and when it struck 7:30 pm, he hung painting number 315.

Can you determine, which painting number will he hang when the time is 9:20 pm?

Asked by Neha on 18 Sep 2025

You board a train. The train will have to enter a tunnel soon. You are claustrophobic. Which place is the best for you to sit?

Asked by Neha on 17 Nov 2024

Our product and our sum always give the same answer. Who are we?

Asked by Neha on 11 Oct 2021


John was writing his first book. After saving the document, he locked his laptop with a password and mentioned some phrases for the hint box.

A friend of his tried opening his laptop but found out that it was password protected. Following is the hint that appeared.
1 mobile 3 books 2 roars 1 night 4 balls 2 lighters 1 ghost 1 hat 3 watches.

Can you help him in cracking the password?

Asked by Neha on 05 Sep 2023

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.