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

A bag contains 64 balls of eight different colours. There are eight of each colour (including red). What is the least number you would have to pick, without looking, to be sure of selecting 3 red balls?

Asked by Neha on 30 Apr 2022


Two batsman each on 94 runs. Seven runs needed to win in last 3 balls. Both make 100*. How?

Asked by Neha on 05 Feb 2023

Shyla was sleeping in her apartment when suddenly a robber broke into her house. He asked her to stay quiet and started looting the cash and jewelry. Suddenly the landline phone started ringing. The robber pointed a gun at Shyla and asked her to pick up and talk without giving away the situation.

She picked up the phone and it happened to be her husband. She spoke, Is it an emergency darling? Do give me a call when your flight lands, I will prepare your favorite food that will help you relieve the stress. Then she hanged up.

10 minutes after, the police arrive at the scene and catch the robber. How did the police know about the robbery?

Asked by Neha on 31 Mar 2023


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

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 alphabet is a part of our body?

Asked by Neha on 03 Nov 2023


Sweet & very intelligent katty has 8 puppets(Jane Bird Barbie Angel Colleen Nora Lass Missy).
All puppets are of different size. She arrange all puppets to face towards the guest and tell the guess the following clues :

* Jane has three puppets bigger on its left side
* Bird has two puppets smaller on its left side
* Barbie has one puppet bigger on its right side
* Angel has two puppets smaller on its right side
* Colleen has one puppet bigger on its left side
* Nora has one puppet smaller on its left side
* Lass has four puppets bigger on its right side
* Missy has three puppets smaller on its right side

Also some puppets are inside the bigger puppets.

Assuming you are the guest , can you tell the katty how the puppets are arranged ?

Asked by Neha on 25 Apr 2023

A California farmer owns a beautiful pear tree. He supplies the fruit to a nearby grocery store. The store owner calls the farmer to see how much fruit is available for him to buy. The farmer knows the main trunk has 24 branches. Each branch has exactly 12 boughs and each bough has exactly 6 twigs. Since each twig bears one piece of fruit, how many plums will the farmer be able to deliver?

Asked by Neha on 24 May 2025

I was born in a small house and I live in it all alone. No windows and no doors have been assigned to my house. The only way I can go out is by breaking through the walls of my house.

Who am I?

Asked by Neha on 22 Jan 2026


Chhote se Chintu Miyan,
Lambi si Pooch.
Jahan Jaye Chintu Miyan,
Wahan Jaye Pooch.

छोटे से चींटू मियाँ,
लंबी सी पूंछ।
जहाँ जाये चींटू मियाँ,
वहाँ जाये पूंछ।

Bolo kya?

Asked by Neha on 14 May 2021

Hot Articles

Amazing Facts

Challenging

There is a cryptic organization called Cicada 3301 that posts challenging puzzles online, possibly to recruit codebreakers and linguists.