B*******1 发帖数: 2454 | 1 careercup上的,看得不是很懂。
You have a digital clock having 24 hr format of HH:MM:SS. You have to find
following probabilities:
1- Occurence of a particular value(let say 05) in SS
2- As 1st point we have to find probabilities for particular value in hour
and minute fields.
3- probalities for other combinations(particular HH:SS or MM:SS values)
You have to answer the probability in terms of digits occurence...for
example in the second's field.. at unit place 10 digits(0-9) are possible,
and in the tens place 6 digits are possible (0-5)
It is not a very straight forward problem. Many different scenarios are
possible(value in the seconds field will change in every 1 min, on the other
hand, the value in the hour field will remain same till 60 min)
Please don't answer ur probabilty in terms of time(as 1/60, 1/24*60) rather
in terms of digits only as described above. |
S********t 发帖数: 3431 | 2 no need to prepare for this kind of questions if you are applying for SDE
position
【在 B*******1 的大作中提到】 : careercup上的,看得不是很懂。 : You have a digital clock having 24 hr format of HH:MM:SS. You have to find : following probabilities: : 1- Occurence of a particular value(let say 05) in SS : 2- As 1st point we have to find probabilities for particular value in hour : and minute fields. : 3- probalities for other combinations(particular HH:SS or MM:SS values) : You have to answer the probability in terms of digits occurence...for : example in the second's field.. at unit place 10 digits(0-9) are possible, : and in the tens place 6 digits are possible (0-5)
|
B*******1 发帖数: 2454 | 3 Thanks very much for your tips.
那么这种问题是拿来考谁的啊?
【在 S********t 的大作中提到】 : no need to prepare for this kind of questions if you are applying for SDE : position
|
g**********y 发帖数: 14569 | 4 单从概率的角度,任何一种情况,比如05出现在SS, 跟其它无关,就是0.01。出现在MM
就是1/60, HH就是1/24。
这个有什么很tricky的地方吗?
【在 B*******1 的大作中提到】 : careercup上的,看得不是很懂。 : You have a digital clock having 24 hr format of HH:MM:SS. You have to find : following probabilities: : 1- Occurence of a particular value(let say 05) in SS : 2- As 1st point we have to find probabilities for particular value in hour : and minute fields. : 3- probalities for other combinations(particular HH:SS or MM:SS values) : You have to answer the probability in terms of digits occurence...for : example in the second's field.. at unit place 10 digits(0-9) are possible, : and in the tens place 6 digits are possible (0-5)
|
c****n 发帖数: 105 | 5 一分钟60秒, 为啥05出现在SS的几率是0.01?
MM
【在 g**********y 的大作中提到】 : 单从概率的角度,任何一种情况,比如05出现在SS, 跟其它无关,就是0.01。出现在MM : 就是1/60, HH就是1/24。 : 这个有什么很tricky的地方吗?
|
g**********y 发帖数: 14569 | 6 我看错了,想成1/100秒了,那就是1/60
【在 c****n 的大作中提到】 : 一分钟60秒, 为啥05出现在SS的几率是0.01? : : MM
|