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

Below toothpicks/matchsticks indicate the group of fishes moving from west to east direction. Can you make them move from east to west by just moving three toothpicks/matchsticks?


Floating Fish

Asked by Neha on 14 May 2021


Out of four images which one is the odd one out?

Odd one out

Asked by Neha on 02 Oct 2023

We have shown you a regular water barrel as below. Without using any measuring device can you check if the barrel is more than half-filled or less than half-filled?

Half Filled barrel

Asked by Neha on 10 May 2023


Find the missing number in the sequence below:

Find the missing number

Asked by Neha on 03 Sep 2021

Consider this: Arnold Schwarzenegger has a big one. Michael J. Fox has a small one. Prince doesn’t have one. The Pope has one but never uses it. Bill Clinton has one and uses it all the time. What is it?

Asked by Neha on 29 Jun 2025

what does this below rebus represent identXQQQQQME

Rebus representation

Asked by Neha on 29 Jan 2025


You are given 2 eggs.
You have access to a 100-storey building.
Eggs can be very hard or very fragile means it may break if dropped from the first floor or may not even break if dropped from 100th floor, Both eggs are identical.
You need to figure out the highest floor of a 100-storey building an egg can be dropped without breaking.
Now the question is how many drops you need to make. You are allowed to break 2 eggs in the process

Asked by Neha on 12 Dec 2025

Which city is three-fifths chick two third cat and 50% goat?

Asked by Neha on 25 Jan 2024

You are playing a game with your friend Jack. There are digits from 1 to 9. You both will take turn erasing one digit and adding it to your score. The first one to score 15 points will win the game.

Would you want to play first or second?

PS: The sum should be exactly 15.

Asked by Neha on 16 Dec 2020


Which tank will fill first?

Fill The Tank

Asked by Neha on 13 Jul 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.