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

I come in different shapes and sizes.
Parts of me are curved, other parts are straight.
You can put me anywhere you like,
but there is only one right place for me.
What am I?

Asked by Neha on 14 May 2021


Solve below popular number sequence
314 159 265 358 979 323 846 ?

Asked by Neha on 09 Nov 2025

I can be cracked, made, told, and played. What am I?

Asked by Neha on 16 Aug 2025


One day, John and his friends were playing around. Jacob hit something with a Pin and it popped. John's dad came into the room that very moment, but he wasn't mad. In fact, he was smiling. What did Jacob hit?

Asked by Neha on 03 Jan 2025

What can run but never walk, have a mouth that never speaks, have a head that never weeps, and have a bed but never sleeps?

Asked by Neha on 05 Sep 2025

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


Count the number of lines in the image below ?

Riddles From Picture

Asked by Neha on 03 Feb 2021

Can you identify if it's a murder or a suicide ?


Murder or Suicide?

Asked by Neha on 17 May 2021

It is a six-letter word.
The first four letters are me.
The second and last letters are the same.
The fourth second and last letter is payment.

Who is it?

Asked by Neha on 07 Feb 2024


You are given four results as below:
1111 = F
2222 = E
3333 = T
Then, can you find out how to code 4444?

Asked by Neha on 29 Nov 2023

Hot Articles

Amazing Facts

Out of the Box

The phrase “thinking outside the box” was popularised from the solution to a topographical puzzle involving 9 dots in a box shape.