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

A detective visits his friend John just to discover that John's neighbour Dr Jacob was murdered. Dr Jacob, who is a mathematician wrote the murderer's name in a code word "Hcqtfz". There were five suspects
1. Ajit
2. Pankaj
3. Ganpat
4. Deenu
5. Hariya

The Detective was instantly able to find the murderer.
Can you?

Asked by Neha on 06 Jan 2026


A few friends are enjoying their sea voyage in a boat full of apples. On the way, they felt hungry and thus decided to eat the apples. Together, they ate two dozen of apples. When they have eaten the apples, will there be any change in the water level?

Asked by Neha on 06 May 2021

What do you think with the below Picture ?

Easy Rebus Teaser

Asked by Neha on 17 Mar 2021


Two Twins Jack and Jill were standing back to back and suddenly they started running in opposite direction for 4 kilometres and then turn to left and run for another 3 kilometres.

what is the distance between the Baggio twins when they stop ?

Asked by Neha on 31 Jul 2021

what does this below rebus represent identXQQQQQME

Rebus representation

Asked by Neha on 29 Jan 2025

A patient was diagnosed with some ailment. He was given five different tablets to take at night at an interval of 15 minutes.

How long will it take the patient to consume all the five tablets?

Asked by Neha on 02 Jul 2024


Identify the 10 differences between the two given pictures.

Pictures to Identify

Asked by Neha on 22 Dec 2023

If you read clockwise, you can form a word by inserting three missing letters in the picture given below. Can you do it?

English Clockwise

Asked by Neha on 10 Sep 2023

A journalist was investigating a sacred cult in the jungles of Africa when he was caught by one of the person. He was confined in a cave till the leader arrived. The leader told him that he need to tell him a statement. If he thinks the statement is true, then the journalist head will be chopped off. If he thinks that the statement is false, his head will be smashed with a hammer.

What statement did the journalist make to survive?

Survive in Jungle

Asked by Neha on 19 Mar 2021


You are given a set of weighing scales and 12 marbles. The scales are of the old balance variety. That is, a small dish hangs from each end of a rod that is balanced in the middle. The device enables you to conclude either that the contents of the dishes weigh the same or that the dish that falls lower has heavier contents than the other. The 12 marbles appear to be identical. 11 of them are identical, and one is of a different weight. Your task is to identify the unusual marble and discard it. You are allowed to use the scales three times if you wish, but no more. Note that the unusual marble may be heavier or lighter than the others. You are asked to both identify it and determine whether it is heavy or light

Asked by Neha on 02 Apr 2026

Hot Articles

Amazing Facts

Jigsaw puzzles

Jigsaw puzzles soared in popularity during the great depression, as they provided a cheap, long-lasting, recyclable form of entertainment.