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 replace the X (both small and big x) with the numbers between 1 to 19 such that all the rows of 3 numbers between X (big x) sum to 23?

Replace Shaped Puzzle

Asked by Neha on 05 Oct 2025


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

A boy was at a carnival and went to a booth where a man said to the boy, "If I write your exact weight on this piece of paper then you have to give me $50, but if I cannot, I will pay you $50." The boy looked around and saw no scale so he agrees, thinking no matter what the carny writes he'll just say he weighs more or less. In the end the boy ended up paying the man $50. How did the man win the bet?

Asked by Neha on 26 Jan 2023


I look at you, you look at me, I raise my right, you raise your left. What am I?

Asked by Neha on 17 May 2021

You are stuck on an island where you have nothing. You find four pieces of paper somewhere on the island. What will be your strategy to escape from the island safely?

PS: No other resource is available to you on the island, neither can you build anything.

Asked by Neha on 11 Oct 2025

How many triangles can you find in this given picture?

Count the Triangles

Asked by Neha on 27 Feb 2023


On a beautiful Sunday morning, You ordered a hot tea to your hotel room and suddenly you remember an important thing that needed to be done right now will take around 3 minutes to complete.
Like most people you like your tea to be hot while drinking so, when should you pour cream in the tea?
1. straight away
2. Just people, you drink the team
3. Its does not matter

Asked by Neha on 24 Jun 2023

Where do you go to learn how to make ice cream?

Asked by Neha on 07 Aug 2024

A woman named Maria was at the funeral of her mother. She met a nice young man that she had never seen before and after the service, they spent a bit of time together. Then she got busy and didn’t get his name or phone number before he left. She tried to find him, but no one knew who he was or how to contact him. A few weeks later, Maria’s older sister dies and the police suspect murder. Who killed the sister?

Asked by Neha on 02 Jun 2025


How many times can you subtract the number two from the number fifty?

Asked by Neha on 12 Mar 2022

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.