Qm
BrainteasersJane StreetOptiver

The three prisoners and the talkative guard

Three prisoners, A, B and C, are told that exactly one of them, chosen at random, will be pardoned tomorrow. The guard knows who it is.

Prisoner A says to the guard: "At least one of B and C will not be pardoned. Telling me which one is not pardoned gives me no information about my own fate, so please name one." The guard agrees and says, "B will not be pardoned."

A is delighted: "Now it is between me and C, so my chance has risen from one third to one half."

  1. Is A right? What is A's chance of being pardoned after hearing the guard?
  2. What is C's chance?

Assume that if A is the one to be pardoned, the guard names B or C with equal probability.

Show a hint

List the three equally likely worlds (A pardoned, B pardoned, C pardoned) and in each one work out how likely the guard is to say "B".

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

Monty Fall: the host opens a door at randomMonty Hall with a predictable hostA host who might be clumsyThe five treasure chestsWhen the host forgets
All questions →