Problem bank
Problem 247 of 333MediumCodingP247
Streaks of either kind
A strategy wins each trading day with probability , independently. Over 50 trading days, what is the probability of a run of at least 5 consecutive days with the same result, meaning 5 wins in a row or 5 losses in a row? Give the answer for and , write an exact algorithm for general days, run length and win probability , and state its complexity.
See the hint and solution with a free account
Every problem on Quant Engine is free, with a hint and a full worked solution. Making an account takes 30 seconds and no card. Then you can see them and track what you have solved.