在SCB面试的一道概率题当时虽然给了答案...但是比较慢,谁有更快的解答?
toss a fair coin, what is the expected number of tosses to
get 2 consecutive heads?
这个题其实很简单的。。思路快的话2分钟就做出来了。。比较难一点的版本。。
toss a fair coin, what is the expected number of tosses to get m consecutive heads?
继续更难一些(这个没遇到过的估计要翻资料才能做出来了)
toss a fair coin n times, what is the probability to get at least m (m<=n) consecutive heads?
继续更难一些(这个没遇到过的估计要翻资料才能做出来了)
toss a fair coin n times, what is the probability to get at least m (m<=n) consecutive heads?