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

The two towns are exactly 100 km apart. John leaves City A driving at 30 km/hr and Jacob leaves City B half an hour later driving at 60 km/hr. Who will be closer to City A when they meet?

Asked by Neha on 11 Nov 2024


What begins with T, ends with T, and has T in it?

Asked by Neha on 15 Oct 2021

In a rainy season, one day 3 huge ladies walked under a normal-sized umbrella.
The umbrella is not huge enough to accommodate all 3 ladies yet not a single lady got wet. Why?

Asked by Neha on 19 May 2024


I sleep during the day and fly at night, but I have no feathers to aid my flight. What am I?

Asked by Neha on 28 Oct 2025

Double it and multiply it by 4. Then divide it by 8 and you’ll have it once more. What number is it?

Asked by Neha on 23 Oct 2025

Can you find out who is the kidnapper in below Picture and why, Explain ?

Catch the Kidnapper

Asked by Neha on 17 May 2021


There is a bag which have 21 blue balls and 23 red balls. You also have 22 red balls outside the bag. Randomly remove two balls from the bag. * If they are of different colors, put the blue one back in the bag. * If they are the same colour, take them out and put a red ball back in the bag. Repeat this until only one ball remains in the bag. What is the color of the sole ball left in the bag ?

Asked by Neha on 13 Mar 2026

How many minutes are there in Feb 2017?

Note: The shortest answer is the correct answer.

Asked by Neha on 08 Aug 2024

Can you figure out the logic I used to decide the order of the following words:
gun, shoe, spree, door, hive, kicks, heaven, gate, line, den

Asked by Neha on 11 Oct 2024


There is a jar in which there are two types of candies.
20 blueberries and 16 strawberries. You perform the following steps:
1) You take out two candies.
2) If the two candies are of the same flavour, you add a blueberry one otherwise, you add the strawberry one.

You repeat these two steps till there is just one candy remaining in the jar. Which flavoured candy will be left?

Asked by Neha on 30 Aug 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.