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

Buy me, smell me or deliver me, I do not change.

Who am I?

Asked by Neha on 19 Feb 2024


Who has married many women but was never married?

Asked by Neha on 09 Aug 2025

Given below is simple addition with a defined pattern pattern:
7 + 7 = 2
8 + 8 = 4
8 + 5 = 1
6 + 9 = 3
10 + 11 = 9

Can you analyze the pattern and find out the answer for:

4 + 9 = ?

Solve the Addition

Asked by Neha on 05 Apr 2021


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

There is a jar in which there are two types of candies.
20 blueberries and 16 strawberries. You perform the following steps:
1) You take out two candies.
2) If the two candies are of the same flavour, you add a blueberry one otherwise, you add the strawberry one.

You repeat these two steps till there is just one candy remaining in the jar. Which flavoured candy will be left?

Asked by Neha on 30 Aug 2023

What is wrong in the below Picture?

Find the wrong in Picture

Asked by Neha on 12 Feb 2023


A B C D E F G H

These are the letters given to you. Now you have to find out the letter that comes two to the right of the letter which is immediately to the left of the letter that comes three to the right of the letter that comes midway between the letter two to the left of the letter C and the letter immediately to the right of the letter F.

Asked by Neha on 25 Jun 2021

What Time Should the last watch show in the below figure?

Time in the Clock

Asked by Neha on 21 Sep 2024

4 fathers, 2 grand-fathers and 4 sons went to watch the movie.What is the minimum number of tickets they need to buy ?

Asked by Neha on 04 Jan 2024


Which is heavier: a ton of bricks or a ton of feathers?

Asked by Neha on 28 Feb 2022

Hot Articles

Amazing Facts

Crossword

The day before the 1996 U.S. presidential election, the NYT Crossword contained the clue “Lead story in tomorrow’s newspaper,” the puzzle was built so that both electoral outcomes were correct answers, requiring 7 other clues to have dual responses.