m*i
2 楼
从careercup上看到的,不知道该怎么做,牛人指点一下
Given a cube. A ant is placed in a corner and cannot move. A spider starts
from the opposite corner, and can move along cube edges in any direction (x,
y,z) with probablity 1/3. What is the expected number of steps for this
spider to get to the ant?
Given a cube. A ant is placed in a corner and cannot move. A spider starts
from the opposite corner, and can move along cube edges in any direction (x,
y,z) with probablity 1/3. What is the expected number of steps for this
spider to get to the ant?
F*t
3 楼
不是大师哈
是肉糜吗? 可以包饺子,做京东肉饼,做meatball,做meatloaf,做chili
是肉糜吗? 可以包饺子,做京东肉饼,做meatball,做meatloaf,做chili
B*t
4 楼
This is an interview problem from quant, I don't think software developers
will be asked.
The answer is 10.
if you know Markov chain, it's quite easy. if not, a little bit harder.
x,
【在 m*******i 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 从careercup上看到的,不知道该怎么做,牛人指点一下
: Given a cube. A ant is placed in a corner and cannot move. A spider starts
: from the opposite corner, and can move along cube edges in any direction (x,
: y,z) with probablity 1/3. What is the expected number of steps for this
: spider to get to the ant?
will be asked.
The answer is 10.
if you know Markov chain, it's quite easy. if not, a little bit harder.
x,
【在 m*******i 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 从careercup上看到的,不知道该怎么做,牛人指点一下
: Given a cube. A ant is placed in a corner and cannot move. A spider starts
: from the opposite corner, and can move along cube edges in any direction (x,
: y,z) with probablity 1/3. What is the expected number of steps for this
: spider to get to the ant?
Z*5
5 楼
可以和豆芽什么的一起炒了,做盖浇饭
s*l
6 楼
http://www.mitbbs.com/article3/Quant/27138300_0_tn.html
【在 m*******i 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 从careercup上看到的,不知道该怎么做,牛人指点一下
: Given a cube. A ant is placed in a corner and cannot move. A spider starts
: from the opposite corner, and can move along cube edges in any direction (x,
: y,z) with probablity 1/3. What is the expected number of steps for this
: spider to get to the ant?
【在 m*******i 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 从careercup上看到的,不知道该怎么做,牛人指点一下
: Given a cube. A ant is placed in a corner and cannot move. A spider starts
: from the opposite corner, and can move along cube edges in any direction (x,
: y,z) with probablity 1/3. What is the expected number of steps for this
: spider to get to the ant?
m*h
7 楼
蚂蚁上树,炸酱面的肉酱
s*f
8 楼
假设spider在点A, ant在点D,
C---D
/| /|
B---C |
| B-|-C
|/ |/
A---B
那么另外6个点可以分成B和C两类:
然后我们来计算:
E(A) = E(B) + 1 //从A点怎么走都是到B点,所以是B点的expection + 1 step
E(B) = 1/3 (E(A)+1) + 2/3 (E(C)+1) //在B点有1/3可能性去A,2/3可能性去C
E(C) = 1/3 + 2/3 (E(B)+1) //在C点有1/3可能性就到了D,2/3的可能性去B
3个方程3个变量,解得E(A) = 10.
x,
【在 m*******i 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 从careercup上看到的,不知道该怎么做,牛人指点一下
: Given a cube. A ant is placed in a corner and cannot move. A spider starts
: from the opposite corner, and can move along cube edges in any direction (x,
: y,z) with probablity 1/3. What is the expected number of steps for this
: spider to get to the ant?
C---D
/| /|
B---C |
| B-|-C
|/ |/
A---B
那么另外6个点可以分成B和C两类:
然后我们来计算:
E(A) = E(B) + 1 //从A点怎么走都是到B点,所以是B点的expection + 1 step
E(B) = 1/3 (E(A)+1) + 2/3 (E(C)+1) //在B点有1/3可能性去A,2/3可能性去C
E(C) = 1/3 + 2/3 (E(B)+1) //在C点有1/3可能性就到了D,2/3的可能性去B
3个方程3个变量,解得E(A) = 10.
x,
【在 m*******i 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 从careercup上看到的,不知道该怎么做,牛人指点一下
: Given a cube. A ant is placed in a corner and cannot move. A spider starts
: from the opposite corner, and can move along cube edges in any direction (x,
: y,z) with probablity 1/3. What is the expected number of steps for this
: spider to get to the ant?
s*a
9 楼
做西湖牛肉羹吧,简易版的味道还不错
m*i
10 楼
多谢!
【在 s*********l 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: http://www.mitbbs.com/article3/Quant/27138300_0_tn.html
【在 s*********l 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: http://www.mitbbs.com/article3/Quant/27138300_0_tn.html
相关阅读
International Tax Analyst position (转载)遇到一个特别急的on site,等待结果中,准备发面经公司说只要H1b transfer交上去就能工作了?(急)以下这几个工资问题咋填?各位请帮忙看看17 month-OPT 期间换雇主做学校网站的web database建设,对以后找工作好处大吗?请教 一下!!!!!!!!!!!!!!!!!请问工资比prevailing wage高多少可以申请H1B?uscis怎么会知道h1之间是否有gap?Bloomberg FSD电面面经H1b签证renew期间如何给老婆申请H4QA position in NY/NJ问个关于H1B的时间问题. 突然搞不清楚了....失业1年多,简历里怎么写?急问:non-profit H1B转一般H1B问个paycheck问题,我到底缴税了吗?这是不是悲剧了?请教cisco choice面经关于opt加急,1个问题,恳请过来人帮忙,谢谢ask?