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

You are mixing a mixture of cement and Sand with five gallons of water. You have a garden hose giving you all the water you need. The problem is that you only have a four-gallon bucket and a seven-gallon bucket and neither has graduation marks. Find a method to measure five gallons.

Asked by Neha on 13 Aug 2024


A man always keeps a spare tyre in his car. To make full use of all the five tyres, he changes the tyres in a manner that for a distance of 1, 00,000 km, each of them runs the same distance.

Can you calculate the distance travelled by each tyre on that journey?

Asked by Neha on 14 Sep 2023

Pronounced as 1 letter, And written with 3, 2 letters there are, and 2 only in me. I’m double, I’m single, I’m black blue and grey, I’m read from both ends, and the same either way. What am I?

Asked by Neha on 08 Aug 2025


Find the 8 in the below-given Image.

Asked by Neha on 24 Feb 2025

What is the coolest letter in the alphabet?

Asked by Neha on 24 Oct 2021

I throw two dice simultaneously.

What is the probability of getting a sum as 9 of the two numbers shown?

Asked by Neha on 08 Jun 2023


People put me on the table and cut me but do not eat me. What am I?

Asked by Neha on 09 Jul 2024

Find the Goldfish below the given Image.

Find the Goldfish

Asked by Neha on 25 Feb 2025

Rumel, A detective who was mere days from cracking an international smuggling ring has suddenly gone missing. While inspecting his last-known location, you find a note:

710 57735 34 5508 51 7718

Currently, there are 3 suspects: Bill, John, and Todd. Can you break the detective's code and find the criminal's name?

Crack the Detective Code

Asked by Neha on 15 Mar 2021


Complete the table series riddle by finding the number that can replace "??".

Tabular Math for All

Asked by Neha on 25 Sep 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.