Fair gambler's ruin
A gambler starts with $12 and bets $1 on fair coin flips until reaching $13 or going broke. What is the probability of reaching $13?
Answer and worked solution
Answer: 12/13 ≈ 0.92308
Gambler's ruin, optional stopping. The results to know for quant trading interviews, then a worked example of each of the 4 question types. Free, no sign-up.
Practise endless questions like these
Try each one before opening the solution. In the app, every type generates fresh numbers each time.
Fair gambler's ruin
A gambler starts with $12 and bets $1 on fair coin flips until reaching $13 or going broke. What is the probability of reaching $13?
Answer: 12/13 ≈ 0.92308
Expected ruin duration
Starting at $16, you bet $1 on fair coin flips until you hit $0 or $17. What is the expected number of flips?
Answer: 16
Biased gambler's ruin
You start with $3 and bet $1 per round, winning each round with probability 0.55. You stop at $0 or $6. What is the probability of reaching $6?
Answer: 0.64612
Return to origin
A simple symmetric random walk starts at 0 (±1 each step, equally likely). What is the probability it is back at 0 after 20 steps?
Answer: 0.1762
Dice & coins · Cards & combinatorics · Conditional & Bayes · Expected value & games · Markov chains & order statistics · Options · Classic brainteasers · Number sequences · Distributions · Variance & covariance · Estimation & testing · Regression & correlation · Returns, risk & sizing · Time series
Preparing for a specific firm? See the firm guides.