A and B are playing a game where each player flips all of their coins. A has n+1 coins, and B has n coins. What is the probability that A will have more heads than B?
A and B are playing a game where each player flips all of their coins. A has n+1 coins, and B has n coins. What is the probability that A will have more heads than B?
题目类型: 技术面试题
这是一道技术面试题,常见于澳洲IT公司面试中。
难度: hard
标签: interviewbit, probability, topic-specific, statistics
参考答案摘要
Compare the first n coins flipped by A to the n coins flipped by B. There are three potential outcomes: 1. More heads are on A than B. 2. Equal numbers of heads are present in A and B. 3. A is headles...
本题提供 STAR 原则详细解答和技术解析,登录匠人学院学习中心即可查看完整答案。