Two-sided collection with a biased coin
A source emits one of 2 types per draw: type A with probability and type B with probability , independently.
On average, how many draws until you have seen both types at least once?
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
Collecting three prizes with unequal oddsOne common toy, two rarer onesA lopsided three-way collectionTwo frequent flavors and a scarce oneWill every room get a guest?
All questions β