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

Can you convert the number zero(0) into a positive number using just one mathematical operator ?

Asked by Neha on 16 Mar 2024


A pregnant woman is preparing to name her seventh child. Her children's names so far are Dominique, Regis, Michelle, Fawn, Sophie, and Lara. What will she name her next child -- Jessica, Katie, Abby or Tilly?

Asked by Neha on 29 Mar 2023

One night, Louis and Adam were sitting together. Adam was watching a movie while his wife Louis was reading a mystery book. Suddenly the power went out and Adam decided to go to bed, but strangely Louis kept on reading. There was no artificial light around, so Louis kept on reading. How come?

Asked by Neha on 04 Jun 2026


How can you write nineteen in a manner that if we take out one, it becomes twenty?

Asked by Neha on 23 Nov 2023

A pond had 60 fish, out of which, all but 20 died.
How many fishes are now present in that pond?

Asked by Neha on 14 Jul 2024

If,
9 * 8 * 7 = 65
8 * 7 * 6 = 50
7 * 6 * 5 = 37

Find
6 * 5 * 4 = ?

Asked by Neha on 05 Jul 2024


A boy collects white seashells from the sea and brings them home every night. When he has enough of them, he decides to sell them to a trader.

The trader is ready to buy the shells and he asks the boy about the quantity. At this, the boy starts calculating. He has a giant box that contains 3 mini boxes. Two of them have another mini box inside. If the giant box can hold 50 shells, how many brown shells can he sell to the trader?

Asked by Neha on 25 Jun 2023

Find The Next Number In The Sequence

30 10 15 13 0 16 -15 ?

Asked by Neha on 20 Aug 2024

Can you find the dog hidden in a group of pandas?

Dog amongst Pandas

Asked by Neha on 16 Feb 2025


A cricket has 6 legs, a squirrel has 4 legs and a spider has 8 legs.

In a local zoo, it was found that the total number of legs is 612. Also, there are equal number of each of the above animals/insects.

Can you find out how many animals are there in the zoo?

Asked by Neha on 06 Feb 2021

Hot Articles

Amazing Facts

Crossword puzzles

In the 1920s, people feared that crossword puzzles would contribute to illiteracy.