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

You are on your way to visit your Friend, who lives at the end of the hill. It is his birthday, and you want to give him the cakes you have made. Between your house and his house, you have to cross 5 bridges, and as it goes in the land of make believe, there is a troll under every bridge! Each troll, quite rightly, insists that you pay a troll toll. Before you can cross their bridge, you have to give them half of the cakes you are carrying, but as they are kind trolls, they each give you back a single cake. How many cakes do you have to leave home to make sure that you arrive at a friend's house with exactly two

Asked by Neha on 20 Jan 2026


Can you find the missing piece of the Porsche?

Find the missing part

Asked by Neha on 23 Jun 2023

At a party, there are five people and a whole round cake lying at the centre of the table. Only four people will make a cut and take their piece and the last one will get the remaining piece on the table. How can they make sure that everyone gets a 1/5th of the piece?

Asked by Neha on 20 Sep 2024


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

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

I am the beginning of the end, and the end of time and space. I am essential to creation, and I surround every place. What am I?

Asked by Neha on 23 Mar 2022


The picture shows the dice results in each couple of throws. If they are actually following a pattern, can you find out the missing one?

Next Dice Movement

Asked by Neha on 02 Dec 2023

Peter wakes up daily to pick up his cycle and crosses the border between Spain and France daily with a bag on his shoulder. He is investigated daily by the officials but they don't find anything suspicious.

If we tell you that he is smuggling something what would it be?

Asked by Neha on 25 Jun 2024

You can find some missing letters in the picture. By placing two particular letters in the spaces, you can form a nine lettered word beginning from one of the corners and going clockwise direction to the middle. Can you find out the letters and the word?

Make the Word

Asked by Neha on 06 Oct 2023


Kohli and Dhoni decided to have a paintball match.
Kohli told Dhoni, "Sir it is not right as you got thrice the paintballs I have".

Dhoni instantly gives Kohli 10 hit paintballs.
Kohli replied, "Sir, I believe you still have twice the paintballs than I have".

Dhoni gives "?" more paintballs to Kohli.
Kohli replied, "Sir it is even now, Let us have a match".

What is "?".

Asked by Neha on 02 Mar 2026

Hot Articles

Amazing Facts

Out of the Box

The phrase “thinking outside the box” was popularised from the solution to a topographical puzzle involving 9 dots in a box shape.