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

Two fathers and two sons decided to go to a shop and buy some sweets upon reaching. Each of them bought 1 kg of sweet. All of them returned home after some time and found out that they had 3kg of sweets with them.

They did not eat the sweets in the way, nor threw or lose anything. Then, how can this be possible?

Asked by Neha on 01 Jun 2024


Can you count the number of squares in the figure below?

Count the Square Puzzle

Asked by Neha on 15 Jan 2026

I have teeth but i don't bite. Who Am I ?

Teeth for showpiece

Asked by Neha on 29 Mar 2021


What does the following BrainBat signifies?

ABCDEFGHIJKLMNOPQRSTUVWYZ

QQQQQQQQQQQQQQQQQQQQQQQQQ.

Asked by Neha on 21 Jan 2021

In a picnic session, a footballer was practicing. During his play, he busted lips and ears and broke ribs and thighs. However, he was still able to play a professional match on the very next day.



How can this be possible?

Asked by Neha on 20 Jan 2021

I possess a head

I flaunt a tail

But I don't have mouth or legs

Can you find out who I am?

Asked by Neha on 05 Feb 2021


2, 3, 5, 9, 17, _ What is the next number in the sequence?

Asked by Neha on 09 Oct 2021

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

I look at you, you look at me, I raise my right, you raise your left. What am I?

Asked by Neha on 17 May 2021


He runs but never walks. Murmurs, but never talks. Has a bed, but never sleeps. And has a mouth, but never eats?

Asked by Neha on 24 Jul 2025

Hot Articles

Amazing Facts

No Solution

In 2007, a puzzle was released and $2 million prizes were offered for the first complete solution. The competition ended at noon on 31 December 2010, with no solution being found. Wiki