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

I come in different shapes and sizes.
Parts of me are curved, other parts are straight.
You can put me anywhere you like,
but there is only one right place for me.
What am I?

Asked by Neha on 14 May 2021


Two fathers and two sons went fishing one day. They were there the whole day and only caught 3 fish. One father said, that is enough for all of us, we will have one each. How can this be possible?

Asked by Neha on 17 May 2021

Can anyone tell me a word in the English dictionary which has a silent 'z'?

Asked by Neha on 13 Jan 2024


A certain street contains 100 buildings. They are numbered from 1 to 100. How many 9's are used in these numbers?

Asked by Neha on 29 Mar 2024

1. How can we put an elephant in the refrigerator?
2. How can we put a Giraffe in a refrigerator?
3. The king of the jungle invites all the animals to a party everyone comes except for one animal, which animal?
4. You come to a crocodile-infested lake, you can't go around it, you can't co under it and you can't go over it, how do you get across?

Asked by Neha on 25 May 2023

I have no doors but I have keys, I have no rooms but I have space, you can enter but you can’t leave! What am I?

Asked by Neha on 15 Mar 2022


How many times can you subtract the number two from the number fifty?

Asked by Neha on 12 Mar 2022

There are 2 sand hourglasses.

The small one can measure 5 hours and the large one can measure 7 hours.

How can we measure 16 hours with 2 sand hourglasses running together ?

Hourglass Time Puzzle

Asked by Neha on 30 Mar 2021

What does this rebus riddle means ?

All Again Rebus

Asked by Neha on 15 Jul 2021


Using Only Five 5's and any mathematical operator make sum as 37

Math Magic Possible

Asked by Neha on 26 Mar 2021

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.