面经 Cornell MFE (Sasha)[2011-03-23]
作者:happyha23 日期:2011-03-25 微信分享

昨天晚上面的,因为后来电脑没电了,早晨受到他家的Ad,现在分享下面经:

Sasha 面的,两个问题
1. why MFE?
2. 投硬币,第一次出现连续两投出个head所需投掷次数的期望。

之后是我问他Cornell 和哥大相比的优势,然后聊了几句后他还问了问现在还有哪些学校的ad,deadline是什么。

一共20分钟多一点,Sasha人很好,有点口音但也还挺容易听懂的,祝大家好运~~

评论 评论 9
iris_ren
iris_ren 2017-12-05 22:37:37
回复 回复
天婧杀
天婧杀 2016-11-12 00:41:23
本帖最后由 天婧杀 于 2016-11-28 20:04 编辑

Mark第二个问题
回复 回复
周俱清
周俱清 2016-10-23 20:39:51
回复 回复
syeira
syeira 2014-10-11 00:15:38
回复 回复
poolish
poolish 2013-11-30 03:28:33
回复 回复
zhaopenglu
zhaopenglu 2011-03-25 13:36:47
found online

Let a = expected number of throws to first head.

We must make 1 throw at least and we have probability 1/2 of a head
and probability 1/2 of returning to a, so

  a = (1/2)1 + (1/2)(1 + a)

  (1/2)a = 1

       a = 2.

Let E = expected number of throws to 2 consecutive heads.

Consider that we have just thrown a head and what happens on the next
throw.  We are dealing with the (a + 1)th throw, with probability 1/2
this is not a head and we return to E.

So  E = (1/2)(a + 1) + (1/2)(a + 1 + E)    

 (1/2)E = a + 1

      E = 2(a + 1)

and now putting in the value a = 2 we get  E = 2(3)  =  6

Expected throws to 2 consecutive heads is 6.
回复 回复
zjuer2007
zjuer2007 2011-03-24 14:25:31
LZ我表示第2题不会做啊。。。
-- by 会员 yucca007 (2011/3/24 13:25:20)




写个程序,模拟10000遍,取第一次得到2个head抛掷次数的平均值,当作近似解~
回复 回复
yucca007
yucca007 2011-03-24 13:25:20
回复 回复
receptive
receptive 2011-03-24 09:28:22
回复 回复
本文标签 本文标签
面试经验