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 have a thousand Re. 1 coins with you. You have ten bags with you and you can put any number of coins in each of the bags. The condition is that if someone asks you for any amount between 1 and 1000, you must be able to give that amount by just giving the bag (you are not allowed to open the bag and give coins).

How will you do it?

Asked by Neha on 12 May 2024


Solve the counting riddle by identifying the number of triangles in the given picture.

Count the Triangle Riddle

Asked by Neha on 26 Feb 2026

Spot 5 differences in two Christmas tree below:

Christmas Tree

Asked by Neha on 06 Jul 2021


Yesterday I fell from 30 feet high ladder but I don't get hurt. Why?

Asked by Neha on 11 May 2023

I can prove why 1 = 2

* Lets say y = x
* Multiply through by x xy = x2
* Subtract y2 from each side xy - y2 = x2 - y2
* Factor each side y(x-y) = (x+y)(x-y)
* Divide both sides by (x-y) y = x+y
* Divide both sides by y y/y = x/y + y/y
* And so... 1 = x/y + 1
* Since x=y, x/y = 1 1 = 1 + 1
* And so... 1 = 2

How is this possible?

Asked by Neha on 01 Aug 2026

On rolling two dices (six-sided normal dice) together, what is the probability that the first one comes up with a 2 and the second one comes up with a 5?

Asked by Neha on 08 Oct 2023


How is a fly different from a mosquito?

Asked by Neha on 15 Jul 2023

In a stable, there are men and horses. In all, there are 22 heads and 72 feet. How many men and how many horses are in the stable

Asked by Neha on 29 Jun 2023

Can you name three consecutive days without using the words Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, or Sunday?

Asked by Neha on 24 Jan 2023


You are provided with a grid (as shown in the picture). Can you fill the squares with numbers 1-8 in a manner that none of the two consecutive numbers are placed next to each other in any direction (vertically, horizontally or diagonally?)

Fill The Grid

Asked by Neha on 22 Sep 2025

Hot Articles

Amazing Facts

Challenging

There is a cryptic organization called Cicada 3301 that posts challenging puzzles online, possibly to recruit codebreakers and linguists.