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

I have one of the three numbers: 1, 2, or 3 in my mind. I speak only truth. You can ask me just one question for which I will only reply in yes or no or don't know. What question will you ask from me so that you are able to know the number?

I Speak only the Truth

Asked by Neha on 15 May 2023


Outside a tattoo artist's shop, there was a signboard which read 'I make tattoos on only them who do not tattoo themselves'.

Reading it what do you think, does the tattoo artist tattoo himself?

Asked by Neha on 22 Nov 2025

What is the next number?

77, 49, 36, 18 ?

Asked by Neha on 05 Jun 2026


Solve the equation by replacing the alphabet with numbers.

MOM + MOM + NO = BOOK=

Asked by Neha on 06 Aug 2023

What Deficiency does the below rebus represent?

VIT_MIN

Asked by Neha on 09 Jun 2024

Who is generally closer to the kids, mom or dad?

(it's a funny riddle)

Asked by Neha on 28 Jul 2023


Replace the question mark with the correct number in below Picture:

Replace the Number

Asked by Neha on 30 May 2021

Can you count the number of rectangles on a chessboard?

Chess Count Riddle

Asked by Neha on 13 Aug 2026

Alex opened 24 presents
Jonah opened 8 presents
Clara opened 1 present

Can you find out how many presents were opened by Candy?

Asked by Neha on 06 May 2024


Can you find out the missing number?

? 4 5 3 5

9 5 7 10 3

Asked by Neha on 03 Mar 2024

Hot Articles

Amazing Facts

Jigsaw puzzles

Jigsaw puzzles soared in popularity during the great depression, as they provided a cheap, long-lasting, recyclable form of entertainment.