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

A man stands on one side of a river, his dog on the other. The man calls his dog, who immediately crosses the river without getting wet and without using a bridge or a boat. How did the dog do it?

Asked by Neha on 05 Jul 2025


Find the next number in the series?
2, 12, 36, 80, 150, 252, 392, _ ?

Asked by Neha on 22 Jan 2024

This is a game of Tic-Tac-Toe which you all might have played innumerable times. Here, we are playing with the black and white markers instead. Also, there is a bit change to the rules. The changed rules allow you to play just three times. After the three markers are put by each of the players, you can only slide your marker into an empty square that shares a common wall with the square that the marker is leaving. You can refer to the figure given. If this is the position of the game, the white's next move would be from 6 to 3. Now, whatever the black one does, the white one will move his marker from 5 to 2 and he will have a three in a row. What you have to decide is if both of the players are using a perfect strategy, will the white player (who plays first) always win? Or it will be the black one who will win always? Or every game will be a draw?

Tic Tac Toe Riddle

Asked by Neha on 11 Aug 2026


How do you go from 98 to 720 using just one letter?

Asked by Neha on 08 Oct 2021

Your last good ping-pong ball fell into a narrow metal pipe embedded one foot deep in concrete.
How can you get it out undamaged, if all the tools you have are your tennis paddle, shoe laces, and plastic water bottle, which does not fit into the pipe?

Asked by Neha on 10 Nov 2024

If one and a half boys, eat one and a half burgers in one and a half hours.

How many burgers can 9 boys eat in 3 hours?

Asked by Neha on 20 May 2023


There are three boxes. One is labeled "APPLES" another is labeled "ORANGES". The last one is labeled "APPLES AND ORANGES". You know that each is labeled incorrectly. You may ask me to pick one fruit from one box which you choose.

How can you label the boxes correctly?

Asked by Neha on 07 Sep 2021

In which direction should the missing arrow point?

Arrow Direction

Asked by Neha on 30 Dec 2024

By moving just one matchstick, you need to make the below statement true. Can you do it?

Tricky Equation

Asked by Neha on 23 May 2026


There is one thing that goes round the house and also inside the house but never even share a brief touch. What is it?

Asked by Neha on 28 May 2021

Hot Articles

Amazing Facts

Crossword

The day before the 1996 U.S. presidential election, the NYT Crossword contained the clue “Lead story in tomorrow’s newspaper,” the puzzle was built so that both electoral outcomes were correct answers, requiring 7 other clues to have dual responses.