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

What will be the best approach to finding all the prime numbers less than 75 that leave an odd reminder when we divide them with 5?

Asked by Neha on 12 Jul 2021


Christina is practising her dance steps along with her friends. In a particular sequence, all of them form a row. At that point, Niharika is standing in the 4th position from either end of the row.
Can you find out how many girls are practising together?

Asked by Neha on 10 Oct 2024

Today, I celebrated my 32nd birthday but I was born in 1972.
How is this possible?

Asked by Neha on 01 May 2025


A man and a dog were going down the street. The man rode, yet walked. What was the dog’s name?

Asked by Neha on 10 Mar 2022

Which of the below owl is odd one out?

Find the odd

Asked by Neha on 22 May 2021

My thunder comes before the lightning; my lightning comes before clouds; my rain dries all the land it touches. What am I?

Asked by Neha on 10 Sep 2025


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

Can you quickly find which two matchstick figures are identical?

Quick Answer Riddle

Asked by Neha on 06 May 2026

What has a ring but no finger?

Asked by Neha on 13 Apr 2024


In the below-given picture of a pretty girl, there is something wrong. Can you find out what it is?

Funny Girl Puzzle

Asked by Neha on 20 May 2025

Hot Articles

Amazing Facts

Crossword

The day before the 1996 U.S. presidential election, the NYT Crossword contained the clue “Lead story in tomorrow’s newspaper,” the puzzle was built so that both electoral outcomes were correct answers, requiring 7 other clues to have dual responses.