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

Speaking of rivers, a man calls his dog from the opposite side of the river. The dog crosses the river without getting wet, and without using a bridge or boat. How?

Asked by Neha on 16 Mar 2025


A father's child, a mother's child, yet no one's son.

Who am I?

Asked by Neha on 21 Mar 2022

Wednesday, Steve and Pam go to a restaurant to eat lunch. After eating lunch, they pay the bill. But Steve and Pam do not pay the bill. So…who does?

Asked by Neha on 26 Jun 2025


By including only four matchsticks in below picture, you have to make "Four Triangles And Two Squares"

Four Triangles And Two Squares Matchsticks Riddle

Asked by Neha on 16 Apr 2021

It has horns but can’t beep. It is like to bleat but It is not a sheep. What is it?

Asked by Neha on 30 Oct 2025

Which Number is the odd one out?

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

Asked by Neha on 10 Jan 2024


You are in a room that has three switches and a closed door. The switches control three light bulbs on the other side of the door. Once you open the door, you may never touch the switches again. How can you definitively tell which switch is connected to each of the light bulbs?

Asked by Neha on 02 Jul 2025

The great emperor Akbar once ruled India. He was well known for his intelligence. But along with that, he was known for the Nine Gems in his court. One of the nine gems was Birbal, a quick witted and extremely intelligent man. The stories of his wit were widely popular.

Once a king ruling in a distant land heard of Birbal. To check his wit, he sent an invitation and called him to visit his land. Akbar allowed Birbal to go and he took off on the journey.

Upon reaching that kings kingdom, he was welcomed with flowers. He was then escorted to the palace of the king. Upon entering the palace, Birbal found that there were six people sitting in front of him adorning the same robe. They were also lookalike and it was hard to judge who the real king was.

After a couple of minutes, Birbal approached one of them and bowed in front of him greeting him.

That was the real king. How did Birbal know who was the real king ?

Asked by Neha on 10 May 2021

Jim and Sarah are in a long-distance relationship. Jim buys an engagement ring for Sarah and wants to mail it to her. Unfortunately, the only way to ensure the ring will be received is to place a lock on the package. Jim has locks and Sarah has locks, but neither has keys for each other’s locks. How can they make sure the ring isn’t stolen?

Asked by Neha on 17 Jun 2025


This puzzle is for Harry Potter fans. Do you know why Tom Riddle is called Lord Voldemort?

Asked by Neha on 11 Feb 2025

Hot Articles

Amazing Facts

Crossword

The day before the 1996 U.S. presidential election, the NYT Crossword contained the clue “Lead story in tomorrow’s newspaper,” the puzzle was built so that both electoral outcomes were correct answers, requiring 7 other clues to have dual responses.