A routine for every question
- Clarify. Restate the problem and confirm assumptions: fair coin? with replacement? are ties possible? This catches misunderstandings and shows care.
- Plan. Say which tool you will use: conditioning, linearity, symmetry, a recursion, a known result.
- Solve. Narrate the key steps, not every piece of arithmetic. Write intermediate results down.
- Check. Test the answer against bounds, limiting cases and intuition.
- Extend. Mention how the answer changes if a parameter changes. Interviewers often ask, and offering it first is a good signal.
Sanity checks that catch most errors
- Bounds. Probabilities lie in ; an expected maximum lies between the mean and the largest value.
- Limiting cases. Set a parameter to 0, 1 or infinity and see if the formula gives the obvious answer.
- Symmetry. If two players are interchangeable, their chances must match.
- Complement. and computed separately should add to 1.
- A quick simulation in your head. Ten flips, a handful of rolls: does the answer look plausible?
- Units and scaling. Does doubling the horizon scale volatility by ? Does the answer have the right units?
When you are stuck
Do not go silent. Say what you are trying, then:
- Solve a smaller case (two dice instead of five, three people instead of a hundred).
- Simplify the problem by dropping a condition, then add it back.
- Look for a known problem with the same structure.
- Offer a brute-force or simulation approach, then look for a shortcut.
If the interviewer offers a hint, take it and build on it. Recovering well from a hint is a positive signal; ignoring one is a negative one.
Worked example
would you take this bet?
You pay 20 to roll a fair die and receive , where is the result. Would you play?
Show solutionHide solution
Expected value: , so the bet is worth per play.
Risk: , so the variance is and the standard deviation about . The edge is under 5% of the standard deviation, and you lose money on four of the six faces.
Answer: yes, if you can play many times and the stake is small relative to your capital; you would need hundreds of plays before the edge reliably shows. Saying both the EV and the risk, and how you would size the bet, is what the interviewer wants to hear.
Knowledge check
An interviewer asks a probability question that could be read two ways. What should you do first?
Knowledge check
You compute the expected maximum of three dice as 3.2. What does a sanity check tell you?
Knowledge check
You are stuck on a puzzle with 100 people. What is the most productive next step?
Practice problems
Finished reading?
Answer the 3 knowledge checks to complete this lesson (0 done).