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

Five lovely ladies(Sophia, Isabella, Madison, Emma and Olivia) planned a picnic.

They each buy one thing each for the picnic.

Sophia, Emma and Olivia got a drink : orange-Juice, apple-juice, and mango-juice.
Olivia got the drink with the same letter as the one in her first name.
Emma loves mango-juice.
The other two bring some food : chocolates and pizza.
Also Madison is allergic to cheese.

So which ladies bought what ?

Asked by Neha on 24 May 2021


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

Imagine a box with two cogwheels, one big with 24 teeth and one small with 8 teeth. The big one is firmly attached to the center of the box which means it does not turn or move while the small one rotates around the big one.

How many times do you think that the smaller wheel will turn compared to the box when it turns once around the big one?

Magical Wheels

Asked by Neha on 22 Sep 2024


I have Rs.50 and I spend it in the way as below.

Fund and Spends

Asked by Neha on 01 Oct 2023

I don't get anymore wetter, no matter how much rain falls on me.

Asked by Neha on 22 Jan 2025

What do you think with the below Picture ?

Easy Rebus Teaser

Asked by Neha on 17 Mar 2021


It spends most of its day eating white, but when it’s quick enough, it gets to eat fruit and sometimes some blue things. It’s in a dark room, where the walls are blue, it runs from a ghost that roams the halls and haunts it all the time. What is it?

Asked by Neha on 30 May 2025

Place the numbers from 1 to 9 in the circles in a manner that each side of the triangle sums up to 17.

Nine Numbers Riddle

Asked by Neha on 21 Jun 2021

A bridge is about to collapse. There are four people P, Q, R and S on one of the sides. Before the bridge collapses, they want to cross it. Now since the bridge is too weak, it can only stand the weight of two people at a time. Also, it is night time and nothing is visible. They have just one torch with them.

Now P takes one minute to cross the bridge, Q takes two minutes to cross, R takes five minutes to cross and S takes ten minutes to cross.

The bridge will collapse in seventeen minutes. How will they be able to cross the bridge before it collapses?

Asked by Neha on 01 Apr 2024


Shyla was sleeping in her apartment when suddenly a robber broke into her house. He asked her to stay quiet and started looting the cash and jewelry. Suddenly the landline phone started ringing. The robber pointed a gun at Shyla and asked her to pick up and talk without giving away the situation.

She picked up the phone and it happened to be her husband. She spoke, Is it an emergency darling? Do give me a call when your flight lands, I will prepare your favorite food that will help you relieve the stress. Then she hanged up.

10 minutes after, the police arrive at the scene and catch the robber. How did the police know about the robbery?

Asked by Neha on 31 Mar 2023

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.