由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 在线等一道面试probability题的答案,谢谢~
相关主题
Amazon onsite interview[合集] 那个Google random generate 1-7的题怎么做啊?
请教一道题目randomized quick sort的最坏情况时间复杂度
random(5) generate random(7)问一下shuffle card问题
一道概率题目问一个面试题
问一道Amazon的老题给一个大俗之一的面经吧。
An interview question about probability. (转载)刚结束的amazon电面2
Pick k lines from a large file randomly uniformly distributedsome experience to share (8) --- final words
同学们来帮忙解个题吧~大家投简历都写cover letter吗?
相关话题的讨论汇总
话题: marbles话题: choose话题: what话题: 一道
进入JobHunting版参与讨论
1 (共1页)
w********g
发帖数: 10
1
A bag has 3 red marbles and 2 blue marbles. You draw two marbles at once,
randomly. What are the odds they
are the same color?
小弟probability学的不好,望赐教,谢谢!
r*******y
发帖数: 290
2
(choose 2 from 3) + (choose 2 from 2)/choose 2 from 5 = 4/10=2/5

【在 w********g 的大作中提到】
: A bag has 3 red marbles and 2 blue marbles. You draw two marbles at once,
: randomly. What are the odds they
: are the same color?
: 小弟probability学的不好,望赐教,谢谢!

g********i
发帖数: 770
3
3/5*2/4+2/5*1/4=2/5
w********g
发帖数: 10
4

谢谢!

【在 r*******y 的大作中提到】
: (choose 2 from 3) + (choose 2 from 2)/choose 2 from 5 = 4/10=2/5
w********g
发帖数: 10
5

谢谢!

【在 g********i 的大作中提到】
: 3/5*2/4+2/5*1/4=2/5
K******C
发帖数: 230
6
(3*2+2*1)/P(5,2)=2/5

【在 w********g 的大作中提到】
: A bag has 3 red marbles and 2 blue marbles. You draw two marbles at once,
: randomly. What are the odds they
: are the same color?
: 小弟probability学的不好,望赐教,谢谢!

1 (共1页)
进入JobHunting版参与讨论
相关主题
大家投简历都写cover letter吗?问一道Amazon的老题
贴道老Coding题目An interview question about probability. (转载)
A家白板interview失败Pick k lines from a large file randomly uniformly distributed
May all the odds be in our favor!!!同学们来帮忙解个题吧~
Amazon onsite interview[合集] 那个Google random generate 1-7的题怎么做啊?
请教一道题目randomized quick sort的最坏情况时间复杂度
random(5) generate random(7)问一下shuffle card问题
一道概率题目问一个面试题
相关话题的讨论汇总
话题: marbles话题: choose话题: what话题: 一道