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

f you were running a race, and you passed the person in 2nd place, what place would you be in now?

Asked by Neha on 14 May 2021


Can you find out the smallest number that can be conveyed as the sum of three squares in three unique ways?

Asked by Neha on 27 Aug 2023

Three men in a cafe order a meal the total cost of which is $15. They each contribute $5. The waiter takes the money to the chef who recognises the three as friends and asks the waiter to return $5 to the men.

The waiter is not only poor at mathematics but dishonest and instead of going to the trouble of splitting the $5 between the three he simply gives them $1 each and pockets the remaining $2 for himself.

Now, each of the men effectively paid $4, the total paid is therefore $12. Add the $2 in the waiters pocket and this comes to $14. Where has the other $1 gone from the original $15?

Asked by Neha on 06 Sep 2021


Tell me the Hindi name of a Vegetable which if we remove 1st word will become a precious Stone and by removing the last word it will become a sweet eatable.

Asked by Neha on 16 Apr 2025

Suppose we lay down two cups in front of you. One of the cups is filled with tea and the other one with coffee. Now we ask you to take a spoonful of tea and mix it with the coffee. At this moment, the coffee cup has a mixture of tea and coffee. You have to take that mixture (spoonful) and add it back to the tea.

Can you now tell if the cup of coffee has more tea or the cup of tea has more coffee?

Asked by Neha on 30 Mar 2024

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


Can you make four (4) nines (9) equal 100?

Asked by Neha on 16 Jul 2023

A man is found unconscious in front of a store at two in the morning. His head is bleeding and there’s a brick laying next to him. When the police arrive, they carry the man to jail. Why did they arrest him?

Asked by Neha on 25 May 2025

You walk into an old horror house. It has no power or plumbing. Once inside, you see three doors. Each door has a number on it. Behind each door is a way for you to die. Behind door number one, you die by getting eaten by a lion. Behind door number two, you die by getting murdered. Behind door number three, you die by an electric chair. You can’t turn back, so you have to go through a door. Which door do you go through?

Asked by Neha on 10 Jun 2025


Who is generally closer to the kids, mom or dad?

(it's a funny riddle)

Asked by Neha on 28 Jul 2023

Hot Articles

Amazing Facts

Jigsaw puzzles

Jigsaw puzzles soared in popularity during the great depression, as they provided a cheap, long-lasting, recyclable form of entertainment.