由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 请教一个概率题目
相关主题
分享下Google电面题M家的分部yammer-20 分钟数学测试
G's interview, 2 questions想试试Netflix
刚刚哭了H1B抽签求祝福,也祝大家抽到
推荐一个random generation的总结请教一道抛硬币的题
bloomberg面经分享总结的G家统计面经
CS interview questions帮忙,被帮,希望大家都有个好的未来。
Jane Street 面经请教一个题目
扔骰子问题急问有没有面试过bloomberg的senior calculations programmer的?
相关话题的讨论汇总
话题: tosses话题: heads话题: coin话题: define
进入JobHunting版参与讨论
1 (共1页)
s*****r
发帖数: 773
1
let's say A keep tossing a fair coin, until he get 2 consecutive heads,
define X to be the number of tosses for this process; B keep tossing another fair coin, until he get 3 consecutive heads, define Y to be the number of the tosses for this process.
Calculate P{X>Y}
看到了这个题目, 我只会算出现HH和HHH的需要仍的期望值, 这个就不知道怎么算了
s*******s
发帖数: 1568
2
You can still use Markov chain to calculate this, set the state to be 2
variable truple (X,Y)

another fair coin, until he get 3 consecutive heads, define Y to be the
number of the tosses for this process.

【在 s*****r 的大作中提到】
: let's say A keep tossing a fair coin, until he get 2 consecutive heads,
: define X to be the number of tosses for this process; B keep tossing another fair coin, until he get 3 consecutive heads, define Y to be the number of the tosses for this process.
: Calculate P{X>Y}
: 看到了这个题目, 我只会算出现HH和HHH的需要仍的期望值, 这个就不知道怎么算了

1 (共1页)
进入JobHunting版参与讨论
相关主题
急问有没有面试过bloomberg的senior calculations programmer的?bloomberg面经
about how to test a calculator program on computerCS interview questions
分享一道trading firm的code screen,只能用c++Jane Street 面经
我应不应该现在申请H1B?扔骰子问题
分享下Google电面题M家的分部yammer-20 分钟数学测试
G's interview, 2 questions想试试Netflix
刚刚哭了H1B抽签求祝福,也祝大家抽到
推荐一个random generation的总结请教一道抛硬币的题
相关话题的讨论汇总
话题: tosses话题: heads话题: coin话题: define