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

Known by all without exception, Forever here, for your protection, Sometimes strong, sometimes weak, Right after the night I come - hot and chic. And while millions of miles away, I always get to you, I find my way. No life around could do without me, Can you guess what I might be?

Asked by Neha on 05 Apr 2022


I had an infinite supply of water and 5 litres and 3 litres jars.

How would you measure exactly 4 litres in the least number of steps?

Asked by Neha on 18 Nov 2025

You knock a Table over in the library, and suddenly 20 eyes are looking at you.

Asked by Neha on 21 Sep 2021


A very interesting trivia question for all.

Why do men's shirts have their buttons on the right side and women's have buttons on the left-hand side?

Asked by Neha on 04 Nov 2023

Why is the Hole below a Lock?

The Hole below a Lock

Asked by Neha on 22 Jul 2023

what one word does the below rebus identifies?

Read Picture Rebus

Asked by Neha on 15 May 2025


In the image given, you can find several triangles. Can you count them all?

How Many Triangles Are There Puzzle

Asked by Neha on 17 Apr 2025

I have two coins.
* One of the coins is a faulty coin having a tail on both sides of it.
* The other coin is a perfect coin (heads on side and tail on other).

I blindfold myself and pick a coin and put the coin on the table. The face of the coin towards the sky is the tail.

What is the probability that another side is also tail?

Asked by Neha on 07 Jun 2023

Twice ten are six of us,

Six are but three of us,

Nine are but four of us;

What can we possibly be?

Would you know more of us?

Twelve are but six of us,

Five are but four, do you see?

What are we?

Asked by Neha on 26 Dec 2020


It belongs to you, but other people use it more than you do. What is it?

Asked by Neha on 19 Feb 2022

Hot Articles

Amazing Facts

Rubik’s Cube

The inventor of the Rubik’s Cube didn’t realize he’d built a puzzle until he scrambled it the first time and tried to restore it.