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 am a normal creature, but I have five hands. I can even have more but even then I will be considered normal.

Who am I?

Asked by Neha on 26 Dec 2024


Sweet & very intelligent katty has 8 puppets(Jane Bird Barbie Angel Colleen Nora Lass Missy).
All puppets are of different size. She arrange all puppets to face towards the guest and tell the guess the following clues :

* Jane has three puppets bigger on its left side
* Bird has two puppets smaller on its left side
* Barbie has one puppet bigger on its right side
* Angel has two puppets smaller on its right side
* Colleen has one puppet bigger on its left side
* Nora has one puppet smaller on its left side
* Lass has four puppets bigger on its right side
* Missy has three puppets smaller on its right side

Also some puppets are inside the bigger puppets.

Assuming you are the guest , can you tell the katty how the puppets are arranged ?

Asked by Neha on 25 Apr 2023

All Marigolds are flowers.
Few Flowers are used to make colors.
Therefore, some Marigold are used to make colors.

True Or False?

Asked by Neha on 24 Feb 2026


Can you count the number of triangles in the given figure?

Count the Triangles

Asked by Neha on 03 Jan 2021

How can you make the following equation true by drawing only one straight line: 5+5+5=550 ?

Asked by Neha on 24 Apr 2021

Kohli and Dhoni decided to have a paintball match.
Kohli told Dhoni, "Sir it is not right as you got thrice the paintballs I have".

Dhoni instantly gives Kohli 10 hit paintballs.
Kohli replied, "Sir, I believe you still have twice the paintballs than I have".

Dhoni gives "?" more paintballs to Kohli.
Kohli replied, "Sir it is even now, Let us have a match".

What is "?".

Asked by Neha on 02 Mar 2026


How many bananas can you eat if your stomach is empty?

Asked by Neha on 13 Mar 2022

I sleep during the day and fly at night, but I have no feathers to aid my flight. What am I?

Asked by Neha on 28 Oct 2025

This was asked in an interview with Coa-Cola.

The interviewer has given me 100 marbles(50 white and 50 black) and two empty boxes.
He then told me that he will leave the room and i need to place all the marbles in two boxes.

And When he come back, he will draw a marble from any of the two box and if the marble is white I will be hired.

Also
* No box can be empty.
* All 100 marbles must be placed in one of the two boxes.

So what should I have done?

Asked by Neha on 29 Nov 2024


Christina is practising her dance steps along with her friends. In a particular sequence, all of them form a row. At that point, Niharika is standing in the 4th position from either end of the row.
Can you find out how many girls are practising together?

Asked by Neha on 10 Oct 2024

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.