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 knock a Table over in the library, and suddenly 20 eyes are looking at you.

Asked by Neha on 21 Sep 2021


Replace the question mark with the correct number, given the pair of numbers exhibits a similar relationship?

? : 3839 :: 11 : 1209

Asked by Neha on 03 Jun 2023

On her drawing table, Sayna lit 12 coloured candles. A few seconds later she blew two candles off.

How many candles Sayna have at the end?

Light the Candles

Asked by Neha on 07 Mar 2021


In the city of Brain Teasers, 5% of people do not list their phone numbers. Now if we select random 100 people from the phone directory, then how many people selected will have unlisted phone numbers?

Asked by Neha on 30 Oct 2023

Identify the next two numbers in this series.

101, 112, 131, 415, 161, 718, ???, ???

Asked by Neha on 30 May 2026

When you say goodbye, I am what you need to tie.
I come as a couple and go wherever you run.
Who am I?

Asked by Neha on 12 Oct 2025


My first is in chocolate but not in ham. My second is in cake and also in jam. My third at tea time is easily found. Altogether, this is a friend who is often around. What is it?

Asked by Neha on 26 May 2025

Can you make numbers like 24, using numbers 3,3,7 & 7 with any arithmetic operator?

Asked by Neha on 25 Feb 2023

Can you find out which number multiplied by itself will give the output as 12345678987654321?

Asked by Neha on 27 Mar 2023


How can you make the following equation true by drawing only one straight line: 5+5+5=550 ?

Asked by Neha on 24 Apr 2021

Hot Articles

Amazing Facts

Word ladder puzzle

The word ladder puzzle was invented by Lewis Carroll, author of Alice’s Adventures in Wonderland.