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's the next in the series?

H, Be, F, S, Mn, Kr, In, Gd, Tl, ?

Asked by Neha on 17 Oct 2023


What will you call your mother's brother's brother-in-law?

Asked by Neha on 15 Jul 2024

I am weightless, but you can see me. Put me in a bucket, and I'll make it lighter. What am I?

Asked by Neha on 23 Nov 2025


Can you make the number 24 by utilizing the numbers 1, 3, 4 and 6? You must use one number only one time and you can use mathematical operation symbols anytime anywhere.

Asked by Neha on 18 Jan 2026

Move four matchsticks to the below square to form three squares?

Matchsticks Square

Asked by Neha on 09 Oct 2023

A cat, a dog and a monkey were stolen. 3 suspects got caught: Harish, Manoj and Tarun. All we know is each person stole one animal, but we do not know who stole which. Here are the investigation statements. Harish said: Tarun stole the cat. Manoj said: Tarun stole the dog. Tarun said: They both were lying. I did not steal the cat or the dog. Later on, the police found out the man who stole the monkey told a lie. The man who stole the cat told the truth. Can you find out who stole which?

Asked by Neha on 05 Nov 2023


It comprises roots which nobody sees,
Much taller than those trees,
Up and up it goes,
Still it never grows?

Asked by Neha on 02 Jan 2025

At a bar, three friends, Mr Green, Mr Red and Mr Blue, were having a drink. One man was wearing a red suit; one a green suit; and the other a blue suit. 'Have you noticed,' said the man in the blue suit, 'that although our suits have colours corresponding to our names, not one of us is wearing a suit that matches our own names?' Mr Red looked at the other two and said, 'You're absolutely correct. What colour suit is each man wearing?

Asked by Neha on 03 Dec 2023

A devotee visits 9 temples when he visits India. All these nine temples have one thing in common - there are 100 steps in every temple. The devotee puts the Re.1 coin after climbing up every step. He does the same while climbing down every step. At each temple, the devotee offers half of his money from his pocket to god. In this way, his pocket becomes empty after he visits the 9th temple.

Can you calculate the total amount he had initially?

Asked by Neha on 27 Apr 2026


Which Number is the odd one out?

A) 7145
B) 2716
C) 5321
D) 4135

Asked by Neha on 10 Jan 2024

Hot Articles

Amazing Facts

Gamers

In 2011, people playing Foldit, an online puzzle game about protein folding, resolved the structure of an enzyme that causes an Aids-like disease in monkeys. Researchers had been working on the problem for 13 years. The gamers solved it in three weeks.