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

In the given figure, move three matchsticks so that the resulting figure contains two rectangles.

Matchsticks Rectangles

Asked by Neha on 25 Jul 2024


After undergoing a successful eye operation, A blind girl has just boarded a train to her home. The doctor asked her to open the bandages after 3 hours. On her train journey, she opened the bandages and within a fraction of the time she commits suicide by jumping off the train.

Though her operation was successful, Why did she commit suicide?

Asked by Neha on 15 May 2021

Which Number is the odd one out?

A) 7145
B) 2716
C) 5321
D) 4135

Asked by Neha on 10 Jan 2024


Can you solve this tricky maths equation problem by replacing it? mark with the correct symbol?

19834 -----: 187
15921 -----: 153
17561 -----: 139
13734 -----: ???

Asked by Neha on 28 May 2023

A kind heart person buy packed food at 3$/packet from United states and sells them at 1$/packet at Africa. After some time he becomes a millionaire.

How come the guy become millionaire ?

Asked by Neha on 30 Jan 2023

What does the below rebus riddle means?

Wise Rebus Riddle

Asked by Neha on 04 Jul 2021


You are a thief and you are being punished for your crime. People have tied your head down on a tree with a rope that has been anchored in the ground. A candle is burning below the rope which is slowly burning it away. Just below your head, a Lion has been left loose and is waiting for you to drop down on the ground so he can have you as his lunch.

You have to survive the scenario. How will you do it?

Asked by Neha on 17 Dec 2025

Which three-digit number, made of consecutive digits, like 567, is 2 less than a cube and 2 more than a square?

Asked by Neha on 24 Aug 2024

What is the difference between a jeweller and a jailer?

Asked by Neha on 11 Jul 2025


A network of 20 x 10 squares is given to you.

Can you calculate how many unique squares and rectangles can be formed combining two or more individual squares ?

Asked by Neha on 24 Jan 2021

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.