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

Nodes are shown below and you need to connect them based on the following rule: Every node can be connected to the number of nodes inside them, i.e. the first node there is a value of 1 which indicates that the first node can connect to exactly one node only.Can you do it?

Nodes Connectivity Riddle

Asked by Neha on 20 Dec 2020


It has a long neck, A name of a bird, Feeds on cargo of ships, It's not alive,

What is it?

Asked by Neha on 17 May 2021

Which word does the below Plexor means ?

Hard Word Plexor

Asked by Neha on 11 May 2021


Aman has 1.15 rupees in his pocket. There are a total of 6 coins in his pocket.

When his friend asked him for a change, he could not give change for a rupee and five paisa.

Can you tell which coins he has?

Asked by Neha on 06 Apr 2026

What Deficiency does the below rebus represent?

VIT_MIN

Asked by Neha on 09 Jun 2024

Which letter of the alphabet has the most water?

Asked by Neha on 03 Aug 2025


While sitting in the Car, John suddenly finds that one of the wheels was missing. John noticed that a killer is approaching towards him. John cannot get out of the car.

How will John escape?

Asked by Neha on 14 Jan 2021

I know a ten-letter word in the English language which can be typed using only the top rows of the computer keyboard.

Asked by Neha on 18 May 2024

To tease, King Akbar told his most clever advisor Birbal to give his daughter one thing that she can eat when hungry, drink if she feels thirsty and can burn if she feels cold. King Akbar was shocked when Birbal gave Akbar's daughter one such thing that satisfies all of the above.

What did Birbal give to Akbar's daughter?

Asked by Neha on 28 Jan 2023


What is in seasons, seconds, centuries and minutes but not in decades, years or days?

Asked by Neha on 03 Nov 2025

Hot Articles

Amazing Facts

Word ladder puzzle

The word ladder puzzle was invented by Lewis Carroll, author of Alice’s Adventures in Wonderland.