Independent flips have heads probability p, 0<p<1. Find the expected flips until HHH.
Quant ResearchLevel: AdvancedRun waiting time
Independent flips have heads probability p, 0<p<1. Find the expected flips until HHH.
Hints
- Track the length of the current suffix of heads.
- A tail resets the suffix to zero.
Answer
This answer is part of mentoring
Advanced questions come with a full breakdown and a mock interview with a working quant researcher. The first call is free.
Source and licence: Lehman, Leighton & Meyer — Mathematics for Computer Science (2018-06-06) · CC-BY-SA-3.0 · answer: Quantoros editorial