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 ages of a son, father and grandfather based on the following facts?
The sum of the ages of grandfather, father and son is 140 years.
The age of the son in months is the same as the grandfather in years.
The age of the son in days is the same as the father in weeks.

Asked by Neha on 29 Jan 2024


How can you drop a raw egg from a height onto a concrete floor without cracking it?

Asked by Neha on 27 Jan 2021

What 5-letter word typed in all capital letters can be read the same upside down?

Asked by Neha on 20 Oct 2025


using four eights (8) and a one (1) and one mathematical symbol , create the number 100

Asked by Neha on 31 Dec 2020

Three fair coins are tossed in the air and they land with heads up. Can you calculate the chances that when they are tossed again, two coins will again land with heads up?

Asked by Neha on 28 Mar 2024

Consider this: Arnold Schwarzenegger has a big one. Michael J. Fox has a small one. Prince doesn’t have one. The Pope has one but never uses it. Bill Clinton has one and uses it all the time. What is it?

Asked by Neha on 29 Jun 2025


Two friends were stuck in a cottage. They had nothing to do and thus they started playing cards. Suddenly the power went off and Friend 1 inverted the position of 15 cards in the normal deck of 52 cards and shuffled it. Now he asked Friend 2 to divide the cards into two piles (need not be equal) with equal number of cards facing up. The room was quite dark and Friend 2 could not see the cards. He thinks for a while and then divides the cards in two piles.

On checking, the count of cards facing up is same in both the piles. How could Friend 2 have done it ?

Game with Cards

Asked by Neha on 02 Mar 2021

In a concert, Christina is performing a dance show with her group.
At 10:00, she and her crew were dancing in an absolutely straight line. At that time Christina was standing in 4th position from both the front and back end of the row.

What was the size of her crew?

Asked by Neha on 11 Aug 2024

12345 a famous South Indian actor
567 is a path in jumbled form
8 & 10 are same letters
9 is one among the first six alphabets.
WHO AM I?

Asked by Neha on 14 May 2021


Forwards I am heavy, backward I am not. What am I?

Asked by Neha on 01 Aug 2025

Hot Articles

Amazing Facts

Gamers

In 2011, people playing Foldit, an online puzzle game about protein folding, resolved the structure of an enzyme that causes an Aids-like disease in monkeys. Researchers had been working on the problem for 13 years. The gamers solved it in three weeks.