Scenario In quantitative trading and quantitative research, candidates are frequently evaluated on probability modeling, specifically regarding Martingales / Li's Theorem.
Your Task
A fair 26-letter keyboard generates characters uniformly and independently at random ( each). Let be the stopping time when the pattern first appears. Using Li's martingale gambling approach, derive the exact expected waiting time .
Constraints