Calculate Probability of Heads and Red Balls Drawing
Boston Consulting GroupData Scientist · Online AssessmentLast updated
This interview question evaluates statistical assumptions, formulas, estimation strategy, uncertainty, edge cases, and interpretation in a realistic interview setting. A strong answer for Calculate Probability of Heads and Red Balls Drawing states assumptions, handles edge cases, explains trade-offs, and shows how to validate the result clearly.
Scenario
BCG CodeSignal test – quick-fire probability section
Question
You flip a fair coin three times. What is the probability of getting exactly two heads? 2) A bag contains 4 red and 6 blue balls. If you draw two balls without replacement, what is the probability both are red?
Hints
Use basic binomial and hypergeometric probability rules.
Solution walkthrough is for members
Get the full walkthrough with reference code and complexity analysis, plus Kitty Coach at 300 messages a day. Hints, the code runner and community answers stay free.