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

Can You Find The Snake Hidden In The Jungle?

Find The Snake In The Jungle<br />

Asked by Neha on 23 Aug 2026


A convention is held where all the big logicians are summoned. The master places a band on everyone's forehead. Now all of them can see others bands but can't see his own. Then they are told that there are different colours of bands. All the logicians sit in circle and they are further explained that a bell will ring at regular intervals. The moment when a logician knew the colour of band on his forehead, he will leave at the next bell. If anyone leaves at the wrong bell, he will be disqualified.

The master assures the logicians that the puzzle will not be impossible for anyone of them. How will the logicians manage ?

Qualcomm Logic Interview Puzzle

Asked by Neha on 26 Jul 2021

John named his first son Alpha, second Beta, third Charlie and fourth Delta. What is the fifth son's name?

Asked by Neha on 03 Aug 2024


You find yourself in a strange place guarded by two guards.One of the guard always say truth while other always lies.You don't know the identity of the two.You can ask only one question to go out from there. What should you ask?

Two Door Two Guard

Asked by Neha on 06 Mar 2021

It comprises roots which nobody sees,
Much taller than those trees,
Up and up it goes,
Still it never grows?

Asked by Neha on 02 Jan 2025

ENEMY = 2 * LINK
LINK + 2 = HELL

Then what will be TAXI + HELL? Select from the options below:
a) ROTTEN
b) DANGER
c) HEAVEN
4) MORTAL

Asked by Neha on 26 Aug 2021


In a supermarket, there is an intelligent glass pane before a refrigerating unit. This glass pane allows cherries and apples through it but does not allow grapes and Orange to pass through it.

Can you identify the rule that the glass pane is following?

Asked by Neha on 18 Jul 2024

Who are the happiest people in IPL match?

Asked by Neha on 24 Jan 2025

At Delhi Cricket Clubhouse, there were four kids(Kohli, Yuvraj, Pant, and Dhoni) ages 1,2,3 and 4 and have 1,2,3 and 4 cricket balls in different orders.

We know the following facts:

Kohli has more cricket balls than his age.
Dhoni is older than Yuvraj.
One child has the same number of cricket balls as his age.
Pant has fewer cricket balls than Dhoni.
A child aged 3 has two cricket-balls.

Pant is the youngest.

Can you determine the age of the children and the number of cricket balls they have?

Asked by Neha on 17 Jul 2026


You see me once in June, twice in November, and not at all in May. What am I?

Asked by Neha on 31 Jul 2025

Hot Articles

Amazing Facts

Word ladder puzzle

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