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 confined in a room and given two metal rods. Out of these two rods, one is magnet and the other is the iron rod. They look starkly similar. You don't have any other metal object in the room.

How will you decide which one of those is magnet?

Asked by Neha on 25 Apr 2021


I make two people out of one. What am I?

Asked by Neha on 29 Mar 2022

It is deaf, Dumb and Blind!!!

Still, always tells the truth. What is it?

Asked by Neha on 06 Feb 2024


There was a strange boy who was born before his father. How can this be possible?

Asked by Neha on 06 Jul 2024

What can you hold in your right hand, but never in your left hand?

Asked by Neha on 13 Jul 2025

A boy and his father are caught in a traffic accident, and the father dies. Immediately the boy is rushed to a hospital, suffering from injuries. But the attending surgeon at the hospital, upon seeing the boy, says 'I cannot operate. This boy is my son.' How is this situation explained?

Asked by Neha on 20 Dec 2024


A convention is held where all the big logicians are summoned. The master places a band on everyone's forehead. Now all of them can see others bands but can't see his own. Then they are told that there are different colours of bands. All the logicians sit in circle and they are further explained that a bell will ring at regular intervals. The moment when a logician knew the colour of band on his forehead, he will leave at the next bell. If anyone leaves at the wrong bell, he will be disqualified.

The master assures the logicians that the puzzle will not be impossible for anyone of them. How will the logicians manage ?

Qualcomm Logic Interview Puzzle

Asked by Neha on 26 Jul 2021

Can you find the key in the picture below?

Find the Key

Asked by Neha on 07 Apr 2024

What is full of holes but still holds water?

Full of holes riddle

Asked by Neha on 26 Apr 2021


What Deficiency does the below rebus represent?

VIT_MIN

Asked by Neha on 09 Jun 2024

Hot Articles

Amazing Facts

Crossword puzzles

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