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 batsman each on 94 runs. Seven runs needed to win in last 3 balls. Both make 100*. How?

Asked by Neha on 05 Feb 2023


If you’ve got me, you want to share me; if you share me, you haven’t kept me. What am I?

Asked by Neha on 18 Feb 2022

Bay of Bengal is in which state?

Bay of Bengal

Asked by Neha on 12 Mar 2021


One of the leprechaun is missing if you see the two pictures attached to this question. Where did he go? When he comes back, do you know where has he been?

Leprechaun Puzzle

Asked by Neha on 26 Apr 2026

There are 2 people near the river and both of them want to get on the other side. The boat can only take one of them. But they got across.
How?

Asked by Neha on 03 May 2021

If in a car race, the man who came two places in front of the last man finished one ahead of the man who came fifth, how many contestants were there?

Asked by Neha on 03 Feb 2023


Which alphabet is a part of our body?

Asked by Neha on 03 Nov 2023

A man is shown a portrait painting. He looks closely, then tells, “Brothers and sisters have I none, but that man’s father is my father’s son!” Who is the man in the portrait?

Asked by Neha on 18 Jun 2025

A Child was born in Lahore, Pakistan.

Still child is not a Pakistani citizen.why ?

Asked by Neha on 01 Feb 2023


A spaceship was lost. The detective was given a piece of paper. This was the location of the spaceship! This is what the slip had scribbled on it:
Juice, Umbrella, Potato, Ice, Tomato, Elephant, Rice.

Where is the spaceship?

Asked by Neha on 19 Jan 2026

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.