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

Rectify the following equality 101 - 102 = 1 by moving just one digit.

Mathematical Signs Magic

Asked by Neha on 08 Mar 2021


It's a test that will check your IQ.

Suppose you have one 11 minute hourglass and one 13 minute hourglass.

Can you measure exactly fifteen minutes using them ?

Asked by Neha on 01 Jul 2021

At a bar, three friends, Mr Green, Mr Red and Mr Blue, were having a drink. One man was wearing a red suit; one a green suit; and the other a blue suit. 'Have you noticed,' said the man in the blue suit, 'that although our suits have colours corresponding to our names, not one of us is wearing a suit that matches our own names?' Mr Red looked at the other two and said, 'You're absolutely correct. What colour suit is each man wearing?

Asked by Neha on 03 Dec 2023


In a chess board, the queen piece can move horizontally, vertically and diagonally freely. The picture represents the same.Can you place 8 queens on the board in a manner that none of the queens can attack each other?

Chess Board Puzzle

Asked by Neha on 10 Oct 2025

You’re out on the water and see a boat filled with people. You look away for a second and look back again, but this time you don’t see a single person on the boat. Why? Hint: The boat did not sink.

Asked by Neha on 15 Jun 2025

The horse jumps over the king.
Strangely there is absolutely no scratch on him.

Can anyone explain, how is this possible?

Asked by Neha on 06 Mar 2023


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

If six children and two dogs were under an umbrella, how come none of them got wet?

Asked by Neha on 07 Mar 2022

The ages of a father and son add up to 66.
The father's age is the son's age reversed.
How old could they be?
(3 possible solutions).

Asked by Neha on 17 May 2021


The first box has two white balls. The second box has two black balls. The third box has a white and a black ball.

Boxes are labeled but all labels are wrong!

You are allowed to open one box, pick one ball at random, see its colour and put it back into the box, without seeing the colour of the other ball.

How many such operations are necessary to correctly label the boxes?

Asked by Neha on 24 Jun 2021

Hot Articles

Amazing Facts

Gambling

In Canada, a mathematical puzzle must be solved in order to win the lottery to classify it as a “game of skill” not gambling.