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

Can you count the number of quadrilaterals in the picture below?

Count the Quadrilaterals

Asked by Neha on 14 Mar 2023


Christina is practising her dance steps along with her friends. In a particular sequence, all of them form a row. At that point, Niharika is standing in the 4th position from either end of the row.
Can you find out how many girls are practising together?

Asked by Neha on 10 Oct 2024

You see a mathematical expression in the picture. Can you think of a movie that this expression refers to?

Movie in Maths

Asked by Neha on 05 Aug 2021


If I put in one bird per cage, I have one bird too many. If I put in two bird per cage, I have one cage too many. How many cages and birds do I have?

Asked by Neha on 25 Apr 2024

How many squares, of any size, can you find on this chessboard which do not contain a Rook?

Chessboard Riddle

Asked by Neha on 16 Jul 2026

In the figure that has been attached to this question, each digit represents a digit. The similar letters carry the same integer value. Can you expose the original digits?

Number The Puzzle

Asked by Neha on 06 Mar 2026


Decode below rebus
D
N
A
T
S , D

Asked by Neha on 14 May 2021

Can you think of a smallest +ve number such that if we shuffle the digits of the number, the new number becomes double the original number?

Asked by Neha on 25 Feb 2024

Which letter of the alphabet has the most water?

Asked by Neha on 03 Aug 2025


Only one colour, but not one size,
Stuck at the bottom, yet easily flies.
Present in sun, but not in rain,
Doing no harm, and feeling no pain.
What is it?

Asked by Neha on 17 May 2021

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.