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

Four cars come to a four-way stop, each coming from a different direction. They can’t decide who got there first, so they all go forward at the same time. All 4 cars go, but none crash into each other. How is this possible?

Asked by Neha on 11 Aug 2025


Which tank will fill first?

Fill The Tank

Asked by Neha on 13 Jul 2021

What month of the year has 28 days?

Asked by Neha on 08 May 2022


What does this mean?

CCCCCCC

Asked by Neha on 19 May 2025

In a classic wine shop, the list of three most popular wines are:
- The cost of 1 French wine bottle: 500$
- The cost of 1 German wine bottle: 100$
- The cost of 20 Dutch wine bottles: 100$

John entered the wine shop and he needs to buy
- All three types of wine bottles.
- Needs to buy Dutch wine bottles in multiples of 20.
- Need to buy 100 wine bottles in total.

John has only 10000$. How many wine bottles of each type, John must buy?

Asked by Neha on 19 Aug 2023

I have an eye but still cannot see.

Who am I?

Asked by Neha on 28 Oct 2023


A pack of cards has 40 cards. You are blindfolded. Out of 40, 25 cards are facing down while 15 are facing up. You have been asked to divide this pack of cards into two decks - so that each deck contains an equal number of face-up cards. Remember, you are blindfolded.

How will you do it?

Asked by Neha on 10 Jan 2026

Replace the question mark with the correct number below.

Tree Problem

Asked by Neha on 19 Mar 2024

A Shopkeeper collects 71 rupees in the form of 20 paisa and 25 paisa.
He collects a total of 324 coins.

Can you tell me how many number of 20-paisa and 25-paisa he got?

Asked by Neha on 31 Jan 2026


Find the next number in the series below

21 32 54 87 131 ?

Asked by Neha on 16 Nov 2023

Hot Articles

Amazing Facts

No Solution

In 2007, a puzzle was released and $2 million prizes were offered for the first complete solution. The competition ended at noon on 31 December 2010, with no solution being found. Wiki