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

An artist while painting a scenic beauty, decides to paint three layers of blue colour on the sky.

Which layer will go on the first?

Asked by Neha on 16 Oct 2024


Different lights make me strange by changing me into different sizes. What am I?

Asked by Neha on 09 Sep 2025

What Time Should the last watch show in the below figure?

Time in the Clock

Asked by Neha on 21 Sep 2024


What is at the end of a rainbow?

Asked by Neha on 17 May 2021

I have no life, but I can die. What am I?

Asked by Neha on 24 Aug 2025

Replace the question mark in the picture below.

Fill the Required Number Puzzle

Asked by Neha on 07 Jan 2026


'S' refers to the number of seconds in a day and 'H' refers to the number of hours in ten years. Which quantity out of these two is greater?

Asked by Neha on 28 Apr 2025

A woman named Maria was at the funeral of her mother. She met a nice young man that she had never seen before and after the service, they spent a bit of time together. Then she got busy and didn’t get his name or phone number before he left. She tried to find him, but no one knew who he was or how to contact him. A few weeks later, Maria’s older sister dies and the police suspect murder. Who killed the sister?

Asked by Neha on 02 Jun 2025

I am something people love or hate. I change peoples appearances and thoughts. If a person takes care of them self I will go up even higher. To some people I will fool them. To others I am a mystery. Some people might want to try and hide me but I will show. No matter how hard people try I will Never go down. What am I?

Asked by Neha on 17 May 2021


What has 88 keys?

Asked by Neha on 09 Jul 2025

Hot Articles

Amazing Facts

Jigsaw puzzles

Jigsaw puzzles soared in popularity during the great depression, as they provided a cheap, long-lasting, recyclable form of entertainment.