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 can hear me, but you can't touch or see me.

What am I?

Asked by Neha on 27 Sep 2025


There are nine letters in the below-given diagram. You have to form a nine-letter word using these letters.

Word from nine Letters

Asked by Neha on 21 Dec 2023

Count the number of triangles in the below picture?

Triangles Count

Asked by Neha on 12 Oct 2023


A Club organizes a Running Race, and John, Jacob, Minda, and Tony participated.

The results are as follows

John beats Jacob
Minda beats Toni
Toni beats John

Who came first in the race?

Asked by Neha on 23 May 2024

In the Wild West, you are challenged into a death match by two bounty hunters nicknamed Golden Revolver (GR) and Killer Boots (KB). You accept the challenge. None of you want to waste any of the bullet and so a certain rules are laid down:

1) All of you will shoot in a given order till the last man standing.
2) Each of you shoots only once upon his turn.
3) If any one of you is injured, the other two will finish him off with an iron rod.
4) The worst shooter of all (which is you) shoots first and the best one shoots at the last.

Now, how will you plan things if you know that you hit every third shot of yours, KB hits every second shot and GR hits every shot ?

Asked by Neha on 15 Dec 2025

A Shopkeeper collects 71 rupees in the form of 20 paisa and 25 paisa.
He collects a total of 324 coins.

Can you tell me how many number of 20-paisa and 25-paisa he got?

Asked by Neha on 31 Jan 2026


A man says, "Brothers and sisters, have I none, but that man's father is my father's son." Who is that man?

Asked by Neha on 03 Jul 2023

What is the largest number you can write with just 3 digits?

Asked by Neha on 18 Apr 2025

John and Jenni are a married couple. They have two kids, one of them is a girl. Assume safely that the probability of each gender is 1/2.
What is the probability that the other kid is also a girl?

Hint: It is not 1/2 as you would first think.

Asked by Neha on 14 Jun 2024


Make eight squares by moving only two matchsticks.
Note- Square can be of different sizes.

Make the Square

Asked by Neha on 12 Apr 2021

Hot Articles

Amazing Facts

No Solution

In 2007, a puzzle was released and $2 million prizes were offered for the first complete solution. The competition ended at noon on 31 December 2010, with no solution being found. Wiki