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

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


Can you find out the next digit in the following series ?

0, 0, 1, 3, 2, 6, 3, 9, 4, 12, 5, ?

Asked by Neha on 22 Jan 2021

A man was driving a black truck. His lights were not on. The moon was not out. A lady was crossing the street. How did the man see her?

Asked by Neha on 06 Mar 2022


I am a type of room you cannot enter or leave. Raised from the ground below, I could be poisonous or a delicious treat. What am I?

Asked by Neha on 12 Apr 2022

A girl is twice as old as her brother and half as old as her father. In 50 years, her brother will be half as old as his father. How old is the daughter now?

Asked by Neha on 21 Jan 2023

There are 20 people in an empty, square room. Each person has full sight of the entire room and everyone in it without turning his head or body, or moving in any way (other than the eyes). Where can you place an apple so that all but one person can see it?

Asked by Neha on 08 Apr 2022


Keyboard words are not in alphabetical order, Why?

Asked by Neha on 26 Jul 2023

There was a greenhouse.
Inside the greenhouse, there is a white house.
Inside the white house, there is a red house.
Inside the red house, there are lots of babies.

What is It?

Asked by Neha on 07 Oct 2025

How many times can you subtract the number 5 from 25?

Asked by Neha on 05 Oct 2021


You have two rectangular wires.

Both of them have property that when you light the fire from one end , it will take 60 minutes to get completely burn.

However, they do not burn at consistent speed (i.e it might be possible 1st 20% burn in 50 minutes and 80% can burn in 10 minutes).

So how could you measure 45 minutes ?

Asked by Neha on 21 Feb 2021

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.