Check15.87² ≈ 251.9, so the estimate is very close.
Interview trapMultiplying by 252 instead of √252, which gives 252%. A common follow-up runs the other way: 16% annual is about 1% daily, the handy divide-by-16 rule.
Warm-up
You roll a fair die until a six appears. On average, how many rolls does it take, counting the roll that shows the six?
Show the answer and working
The number of rolls is geometric with p = 1/6, so the expected number is 1/p = 6.
Each roll is an independent trial with success chance p = 1/6.
Condition on the first roll: E = 1 + (5/6) × E, because with chance 5/6 you have used one roll and are back where you started.
Solve: E − (5/6)E = 1, so E/6 = 1 and E = 6.
CheckIn 600 rolls you expect about 100 sixes, so one six per 6 rolls on average.
Interview trapSaying 3.5, the average face value, or mixing up mean and median: the chance of a six within 4 rolls is already about 52%, so the median is 4.
Warm-up
What is the probability of getting at least one six in four rolls of a fair die?
Show the answer and working
1 − (5/6)^4 = 1 − 625/1296 ≈ 0.518.
At least one is easiest through the complement: no six at all.
P(no six in 4 rolls) = (5/6)^4 = 625/1296 ≈ 0.482.
P(at least one six) = 1 − 0.482 ≈ 0.518.
CheckAdding 4 × 1/6 = 0.667 double-counts rolls with two sixes, so the true answer must be below 0.667, and it is.
Interview trapAdding probabilities to get 2/3; that logic would give more than 1 for seven rolls. The follow-up: at least one double six in 24 rolls of two dice is just under 50%.
Step up
On a trading floor, 1% of orders are fat-finger errors. A surveillance alert fires on 95% of errors but also on 5% of normal orders. An alert fires. What is the probability that the order really is an error?
Show the answer and working
By Bayes, P(error | alert) = 0.0095 / (0.0095 + 0.0495) ≈ 0.161, about 16%.
P(alert and error) = 0.01 × 0.95 = 0.0095.
P(alert and normal) = 0.99 × 0.05 = 0.0495.
P(alert) = 0.0095 + 0.0495 = 0.059.
P(error | alert) = 0.0095 / 0.059 ≈ 0.161.
CheckThink of 10,000 orders: 100 errors (95 flagged) and 9,900 normal ones (495 flagged). 95 / 590 ≈ 16%.
Interview trapAnswering 95%, which confuses P(alert | error) with P(error | alert). The base rate matters: when the event is rare, most alerts are false alarms.
Step up
You roll a die and win ₹ equal to the face. After seeing the first roll you may keep it, or roll once more and take the second result, whatever it is. What is your strategy and the game's expected value?
Show the answer and working
Keep 4, 5 or 6 and re-roll 1, 2 or 3. Value = (4 + 5 + 6)/6 + (3/6) × 3.5 = 2.5 + 1.75 = ₹4.25.
If you re-roll, you expect 3.5, so keep any first roll above 3.5: that is 4, 5 or 6.
Keeping: probability 1/6 each for 4, 5 and 6, contributing (4 + 5 + 6)/6 = 2.5.
Re-rolling: probability 3/6, worth 3.5 on average, contributing 1.75.
Total expected value = 2.5 + 1.75 = 4.25.
CheckThe value must beat a single roll (3.5) and stay below 6. 4.25 does both.
Interview trapKeeping a 3 as well, or forgetting the second roll is forced. Next question: with up to three rolls the value is 14/3 ≈ 4.67, keeping only 5 or 6 on the first roll.
Step up
You toss a fair coin until you see two heads in a row. What is the expected number of tosses?
Show the answer and working
Conditioning on the first one or two tosses gives E = 6.
Let E be the expected number of tosses starting from scratch.
First toss T (probability 1/2): one toss used, start again, so 1 + E.
First H then T (probability 1/4): two tosses used, start again, so 2 + E. First HH (probability 1/4): done in 2.
E = ½(1 + E) + ¼(2 + E) + ¼(2) = 1.5 + 0.75E, so 0.25E = 1.5 and E = 6.
CheckA simulation averages very close to 6. In general, waiting for n heads in a row takes 2^(n+1) − 2 tosses on average, and n = 2 gives 6.
Interview trapSaying 4. Waiting for HT does take 4 on average, but HH takes longer because a failed attempt (HT) wastes the head. Interviewers love that difference.
Step up
You have ₹30 and bet ₹10 at a time on a fair coin, stopping when you reach ₹100 or go broke. What is the probability that you reach ₹100?
Show the answer and working
In a fair game your expected wealth never changes, so P(reach ₹100) = 30/100 = 0.3.
Count in units of ₹10: start at 3, stop at 0 or 10.
A fair game means expected wealth stays the same (a martingale): 3 = P × 10 + (1 − P) × 0.
So P = 3/10 = 0.3.
The expected number of bets is i(N − i) = 3 × 7 = 21.
CheckStarting halfway, at ₹50, should give 0.5, and the formula gives 5/10. Consistent.
Interview trapThinking bet size changes the answer in a fair game. It does not change P, only how long the game lasts. The follow-up is the unfair-coin version.
Hard
Same game, but you win each ₹10 bet with probability 0.49. Starting with ₹100, you stop at ₹200 or at zero. What is the chance of reaching ₹200? Would a single ₹100 bet be better?
Show the answer and working
With r = q/p = 51/49, P = (1 − r^10)/(1 − r^20) ≈ 0.401. One bold ₹100 bet wins with probability 0.49, which is better.
In units of ₹10: start i = 10, target N = 20; p = 0.49, q = 0.51, r = q/p ≈ 1.0408.
r^10 ≈ 1.492 and r^20 ≈ 2.226, so P ≈ (1 − 1.492)/(1 − 2.226) = 0.492/1.226 ≈ 0.401.
A single ₹100 bet reaches ₹200 with probability 0.49, well above 0.401.
CheckA tiny house edge (51 against 49 on each bet) turns a near 50% chance into about 40% when you make many bets.
Interview trapExpecting an answer close to 0.49 because each bet is nearly fair. In an unfavourable game, bold play (few large bets) beats timid play; in a favourable game, the reverse.
Hard
You keep drawing independent uniform random numbers between 0 and 1 and adding them up. On average, how many draws do you need before the running sum first exceeds 1?
Show the answer and working
P(more than n draws needed) = P(sum of n uniforms < 1) = 1/n!, so the expected count is the sum of 1/n!, which is e ≈ 2.718.
Let N be the number of draws needed. N > n exactly when the first n uniforms add up to less than 1.
The region where n uniforms sum to less than 1 is a simplex of volume 1/n!, so P(N > n) = 1/n!.
For a count, E[N] = sum over n ≥ 0 of P(N > n) = 1 + 1 + 1/2! + 1/3! + … = e.
So E[N] = e ≈ 2.718.
CheckN is at least 2, since one uniform is always below 1, and is usually small, so a value a bit under 3 is sensible. A simulation agrees.
Interview trapGuessing 2 because each uniform averages 0.5. That ignores the overshoot: the sum must pass 1, and you cannot stop at exactly 1.
Questions and answers are original Desk2Quant material; numbers are computed, not recalled. For education only; not investment advice. Labels on this site: REAL means real public data with its source given, SIMULATED means random numbers generated for the example, ILLUSTRATIVE means made-up inputs chosen to teach the idea.