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

Can you name an animal whose killing cannot be performed without spilling your own blood?

Asked by Neha on 28 Feb 2023


People make me, save me, change me, raise me. What am I?

Asked by Neha on 08 Mar 2025

What do you get if you add 2 to 100 four times?

Tricky Maths

Asked by Neha on 24 Jun 2024


Complete the following series. It.s very logical:

1, 4, 5, 6, 7, 9, 11, __?

Asked by Neha on 02 May 2024

You have to put a letter on the following to make it a meaningful word. The only challenge is that you can't use 'E'.

S E Q U E N C _

Asked by Neha on 23 May 2023

A fresher was sitting in an interview. The interviewer said, "This is the last question of your interview. Tell me the accurate position of the centre of this table where your resume is kept."

How can he answer this question? What will you have answered to such a question?

Asked by Neha on 10 Jun 2026


A and B have a certain number of chocolates with them. If B gives one chocolate to A, they will have an equal number of chocolates. But if A gives one chocolate to B, then A will be left with half the number of chocolates that B has.

Can you find out the number of chocolates they have right now?

Asked by Neha on 02 Apr 2023

Identify The phrase in the picture.

Face the Word

Asked by Neha on 31 Jan 2024

Living above a star, I do not burn
Eleven friends and they do not turn
I can just be visited in a sequence, not once or repeatedly
PQRS are my initials
Can you tell my name accurately?

Asked by Neha on 11 Jul 2021


Here is what you have to do. You have to throw a ball as hard as you can but it must return back to you even if it does not bounce at anything. Also, you have nothing attached to the ball. There is no one on the other end to catch that ball and throw it back at you.

How will you do it?

Asked by Neha on 25 Mar 2024

Hot Articles

Amazing Facts

Gamers

In 2011, people playing Foldit, an online puzzle game about protein folding, resolved the structure of an enzyme that causes an Aids-like disease in monkeys. Researchers had been working on the problem for 13 years. The gamers solved it in three weeks.