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

The below mentioned letters have been placed in a order using a logic.

DEAD, BALL, FEAR, SHOP

Can you find the logic?

Asked by Neha on 14 May 2021


John killed hundreds of people mercilessly and yet the police were not able to put her behind the bars. Why?

Asked by Neha on 02 Nov 2024

I am quite hot but become too cold if you remove the first two letters. What am I?

Asked by Neha on 24 May 2023


If there are fifteen crows on a fence and the farmer shoots a third of them, how many crows are left?

Asked by Neha on 17 May 2021

Can you make numbers like 24, using numbers 3,3,7 & 7 with any arithmetic operator?

Asked by Neha on 25 Feb 2023

He digs out tiny caves and stores gold and silver in them. He also built bridges of silver and made crowns of gold. They are the smallest you could imagine. Sooner or later everybody needs his help, yet many people are afraid to let him help them. Who is he?

Asked by Neha on 23 Dec 2025


Count the number of triangles in the given picture.

Find out triangles

Asked by Neha on 28 Mar 2025

A man dies of old age on his 25 birthday. How is this possible?

Asked by Neha on 17 May 2022

In the Mexico City area, there are two Houses H1 and H2. Both H1 and H2 have two children each.
In House H1, The boy plays for Mexico Youth academy and the other child plays baseball.
In House H2, The boy Plays soccer for his school in Mexico and they recently have a newborn.

Can you prove that the probability of House-H1 having a girl child is more than that of House-H2?

Asked by Neha on 06 Jun 2024


Before reading ahead, you must know the fact that only one of the people here is telling the truth.

A says that B is lying.
B says that C is lying.
C says both A and B are lying.

Can you find out who is speaking the truth?

Asked by Neha on 26 Dec 2023

Hot Articles

Amazing Facts

Gambling

In Canada, a mathematical puzzle must be solved in order to win the lottery to classify it as a “game of skill” not gambling.