Quant interview prep guides

Monty Hall, for quant interviews

Everyone knows the answer is “switch.” Interviewers are testing whether you can say why without hand-waving — and whether you notice when a variant quietly changes it.

For candidates practicing sample spaces and information updates · Updated July 21, 2026

The host rule is the whole puzzle

Three doors: one hides a car, two hide goats. You pick a door. The host — who knows what is behind every door — opens a different door, always revealing a goat, and offers to let you switch to the remaining door. Should you?

Before any arithmetic, state the three assumptions the answer depends on, because this is what a good interviewer is actually probing: the host always opens a losing door, the host never opens your door, and the host always offers the switch. Change any one of these and the number changes. The puzzle is not really about doors; it is about the fact that the host’s choice is constrained by information you don’t have, so the door he leaves closed is not a random door.

Just enumerate the three cases

The cleanest interview answer skips paradox-talk and counts. Fix your first pick as door 1 without loss of generality. The car is equally likely to be behind each door, giving three cases of probability 1/31/31/3 each:

Enumerating the three cases of Monty HallYou pick door 1. In two of the three equally likely car positions, switching wins.EQUALLY LIKELY CASEDOORS 1 · 2 · 3STAYSWITCHCar behind door 1You picked door 1cargoatWINloseCar behind door 2You picked door 1goatcarloseWINCar behind door 3You picked door 1goatcarloseWIN
You pick door 1, and the car is equally likely behind each door. Staying wins only in the one case where you were right first; switching wins in the two cases where you were wrong. Switch: 2 of 3. Stay: 1 of 3.

Staying wins only in the single case where your first guess was already right. Switching wins in both cases where it was wrong. Your first guess is wrong 2/32/32/3 of the time, so switching wins 2/32/32/3 of the time. That is the entire proof, and it fits on a whiteboard.

The same thing as a tree

If you prefer to see the strategy rather than the cases: switching is a machine that inverts your first pick. Pick the car and switch, you lose; pick a goat and switch, you are forced onto the car and win. So switching wins exactly when your first pick was a goat.

Monty Hall probability treeThe root splits into first-pick-car with probability one third and first-pick-goat with probability two thirds. Switching inverts each outcome.you pick1/32/3first pick = CARfirst pick = GOATswitchswitchloseWINSwitch wins whenever the first pick was a goat = 2/3
Switching simply inverts your first guess: it turns every first-pick goat into a win. Since the first pick is a goat two-thirds of the time, switching wins two-thirds of the time.

Deriving it with Bayes

When the interviewer says “do it formally,” they want the conditional probability. You picked door 1 and the host opened door 3. Compare the two survivors. The priors are P(Ci)=1/3\Prob(C_i) = 1/3P(Ci​)=1/3. The only term that differs is the likelihood of the host opening door 3:

P(H3∣C1)=12,P(H3∣C2)=1,P(H3∣C3)=0\Prob(H_3 \mid C_1) = \tfrac{1}{2}, \quad \Prob(H_3 \mid C_2) = 1, \quad \Prob(H_3 \mid C_3) = 0P(H3​∣C1​)=21​,P(H3​∣C2​)=1,P(H3​∣C3​)=0

If the car is behind your door, the host picks freely between the two goats (1/21/21/2). If it is behind door 2, he is forced to open door 3 (111). He never opens the car (000). Bayes then gives the door you’d switch to:

P(C2∣H3)=13⋅113⋅12+13⋅1+13⋅0=1312=23\Prob(C_2 \mid H_3) = \frac{\tfrac13 \cdot 1}{\tfrac13 \cdot \tfrac12 + \tfrac13 \cdot 1 + \tfrac13 \cdot 0} = \frac{\tfrac13}{\tfrac12} = \frac{2}{3}P(C2​∣H3​)=31​⋅21​+31​⋅1+31​⋅031​⋅1​=21​31​​=32​

Your original door keeps its prior 1/31/31/3; the reveal poured the rest onto door 2. The forced 111 versus the free 1/21/21/2 is where the asymmetry lives.

Why 100 doors makes it obvious

The intuition pump interviewers love: play with nnn doors, let the host throw open every goat door except one, then offer the switch. Your first pick is right with probability 1/n1/n1/n, so switching wins (n−1)/n(n-1)/n(n−1)/n.

Switching probability grows with the number of doorsFor 3, 10 and 100 doors switching wins with probability 2/3, 9/10 and 99/100.SWITCH-WIN PROBABILITY, HOST OPENS ALL GOATS BUT ONE100%3 doors2/310 doors9/10100 doors99/100
The 100-door version is the fastest way to feel the answer: your first pick is almost certainly wrong, the host clears away every other goat, and the one door he leaves closed is the car 99% of the time. Same logic, louder.

At n=100n = 100n=100 nobody argues 50/50 anymore: you almost certainly missed, and the host spent his knowledge sweeping away 98 goats to leave the car sitting there. The three-door case is the same effect, just quiet enough that people talk themselves out of it.

Variants that change the answer

This is where interviews are won or lost. The 2/3 result is not a fact about two closed doors; it is a fact about how the surviving door was chosen. Break the host rule and recompute:

  • Ignorant host (“Monty Fall”). The host opens a random other door and it happens to show a goat. Now switching is a true 1/21/21/2 — no edge — because the reveal was not steered away from the car.
  • Malicious host (“Monty from Hell”). The host only offers a switch when you picked the car. Then switching loses with probability 111, and the correct move is to stay.
  • Host may reveal the car. If the game ends when a car is revealed, then seeing a goat is itself evidence, and the update is different again. Always ask what happens in the branch you were not shown.

Common mistakes

  • “Two doors left, so it’s 50/50.” Counting doors instead of counting how the information was produced. The doors are not exchangeable.
  • Answering 2/3 by reflex. Reciting the memorized number without ever stating the host rule reads as pattern-matching. The assumptions are the answer the interviewer wants.
  • Forgetting the host’s free choice. When your first pick hides the car, the host chooses between two goats. That 1/21/21/2 is exactly the term the Bayes denominator needs; drop it and you will “prove” the wrong number.

Practice the pattern

Monty Hall is one instance of a whole family: the answer lives in how the information was generated, not in the final count of options. Drill that reflex on conditional-probability and host-rule questions in the LeetQuidity curriculum, or take the free calibration to see where your reasoning breaks under time.

Take the calibrationView the curriculum

On this page

The host ruleEnumerate three casesThe treeBayes derivationThe 100-door versionVariants & mistakes

Related guides

Bayes Rule Interview QuestionsProbability Brainteasers Quant Interview GuideConditional Probability Quant Interview QuestionsProbability Interview Questions for Quant RolesQuant Interview Cheat Sheet: Formulas, Identities and Fast MethodsQuant Interview Drills by Topic
LeetQuidity

The complete quant interview course.

InstitutionsCurriculumPricingFAQCalibrationDemoGuides
XLinkedInInstagramYouTube

© 2026 LeetQuidity — a W Interior company. All rights reserved.

Privacy PolicyTerms of ServiceTrust & Security