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

Find three whole, positive numbers that have the same answer when multiplied together as when added together.

Asked by Neha on 01 Jan 2021


Without looking at a calendar, within a minute name, a boy's name using 5 consecutive 1st letters of 5 consecutive months

Asked by Neha on 22 Apr 2025

Make eight squares by moving only two matchsticks.
Note- Square can be of different sizes.

Make the Square

Asked by Neha on 12 Apr 2021


At the local model boat club, four friends were talking about their boats.

There were a total of eight boats, two in each colour, red, green, blue and yellow. Each friend owned two boats. No friend had two boats of the same colour.

Alan didn't have a yellow boat. Brian didn't have a red boat but did have a green one. One of the friends had a yellow boat and a blue boat and another friend had a green boat and a blue boat. Charles had a yellow boat. Darren had a blue boat, but didn't have a green one.

Can you work out which friend had which coloured boats?

Asked by Neha on 15 Jan 2024

12345 a famous South Indian actor
567 is a path in jumbled form
8 & 10 are same letters
9 is one among the first six alphabets.
WHO AM I?

Asked by Neha on 14 May 2021

What have one eye but still cannot see?

Asked by Neha on 27 Dec 2025


Rob is taller than Edwin, and Jurgen is shorter than Rob.
Of only one of the following statements, we now certainly know it is correct:

A.Edwin is taller than Jurgen
B.Jurgen is taller than Edwin
C.It cannot be determined if Jurgen or Edwin is the tallest.

Asked by Neha on 01 Mar 2024

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

The following "Brain Bat" means Slow Down.
S
L
O
W

Using the same logic, can you tell us what does the following Brain Bat means ?
E
V
I
G

Asked by Neha on 14 May 2021


I am the one who remains awake when you sleep. But I need to rest when you awake. Who Am I?

Asked by Neha on 23 Jan 2025

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.