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

Open a Laptop which is password protected. Hint for the password is given as below:

1 mobile 3 books 2 Boards 1 night 4 balls 2 lighters 1 ghost 1 hat 3 watches

Asked by Neha on 06 Apr 2022


Find the next number in the sequence

5 12 24 36 ?

Asked by Neha on 08 Jul 2023

Alex opened 24 presents
Jonah opened 8 presents
Clara opened 1 present

Can you find out how many presents were opened by Candy?

Asked by Neha on 06 May 2024


Can you fill the blank with the correct number?

6 30 870 756030 _____

Asked by Neha on 20 Feb 2023

Which part of London exists in France as well ?

Asked by Neha on 17 Feb 2021

Your mother’s brother’s only brother-in-law is asleep on your couch. Who is asleep on your couch?

Asked by Neha on 14 Mar 2022


Find the missing letter in the last circle logically in the given below picture.

Apply Logic in Alphabet

Asked by Neha on 02 Apr 2024

The sum of a mother, her baby and her dog's weight is 170 Kg. How much does the baby weigh if the mother weighs 100 kg more than the combined weight of the baby and the dog, and the dog weighs 60 per cent less than the baby?

Asked by Neha on 01 Feb 2025

John was so frustrated to be the suspect of being a sleeper terrorist that he shoot himself right between the eyes with a revolver in his toilet. The revolver and the bullets were accurate. Minutes later John walks out of the toilet unharmed.
How can this be possible?

Asked by Neha on 15 Nov 2023


The more it dries, the wetter it becomes. Can you tell what it is?

Asked by Neha on 09 Mar 2023

Hot Articles

Amazing Facts

Out of the Box

The phrase “thinking outside the box” was popularised from the solution to a topographical puzzle involving 9 dots in a box shape.