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

As shown in the picture below, we can see a boy hanging on the tree branch to save his life. There are various ways in which he can die like1. A snake hanging toward the right waiting to bite the boy.2. A roaring Lion near the tree.3. Two crocodiles are ready to attack if the boy reaches near water. The tree is chopped to some extent, so can fall as if he moves a lot. Can you give this boy an escape plan?

The Escape Plan

Asked by Neha on 06 Jul 2023


What's a single-digit number with no value?

Asked by Neha on 06 Aug 2025

How many times can you subtract the number 5 from 25?

Asked by Neha on 05 Oct 2021


Astrology starts with the alphabet A, Biology starts with B, Psychology with P and Limnology with L.

Can you find an "ology" that begins with a P?

Asked by Neha on 12 Nov 2024

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

Asked by Neha on 11 May 2023

Can you find a seven digit number which describes itself. The first digit is the number of zeros in the number. The second digit is the number of ones in the number, etc. For example, in the number 21200, there are 2 zeros, 1 one, 2 twos, 0 threes and 0 fours.

Asked by Neha on 23 Jul 2021


1 + 9 + 8 = ?
considering, 28 + 8 + 92 = 10

Asked by Neha on 03 Aug 2021

By removing one matchstick and adding one matchstick, can you convert the word "ZOO" to an animal name?

Zoo Matchsticks Riddle

Asked by Neha on 27 May 2023

Whats the next number in the below number sequence pattern.

Picture Pattern Riddle

Asked by Neha on 12 Nov 2025


13 decks of cards have been mixed. What is the minimum number of cards that must be taken out from the above-mixed cards to guarantee at least one 'four of a kind?

Asked by Neha on 10 Jun 2024

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.