Pick a coin from a mixed bag, then flip ten times
A bag of coins is fair coins (heads probability ) and trick coins (heads probability ). You pull one coin at random and flip it times.
How many heads should you expect?
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
Sign in to join the discussion · reading is open to everyone
💡 Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.
Related questions
A die picks the bias, then eight flipsClaims in a quiet or busy month, each with a costA coin of random bias, then twenty flipsRandom defect rate, then inspect twelve itemsEach archer's accuracy is random, then sixteen shots
All questions →