← MathWorks Interview Insights
The 'at least two' phrasing is where I slowed down.
Recognize this as a hypergeometric probability problem and compute the probability of exactly 2 red balls and exactly 3 red balls, then sum them. Alternatively, use the complement: 1 minus the probability of 0 or 1 red balls. Clearly state the combinatorial formula and show the arithmetic.
Pro tip: After calculating, sanity-check the result by considering the expected number of red balls (1.8) and the symmetry of the distribution; a probability around 0.67 is reasonable. Also, mention that this is equivalent to the hypergeometric distribution, which is useful in many engineering contexts.
State that you are drawing without replacement from a finite population, so the number of red balls follows a hypergeometric distribution. Define the parameters: population size N=10, successes K=6, draws n=3.
The event 'at least 2 red balls' means exactly 2 red or exactly 3 red. These are mutually exclusive, so you can sum their probabilities.
Calculate P(2 red) = C(6,2)*C(4,1)/C(10,3) and P(3 red) = C(6,3)*C(4,0)/C(10,3). Show the combination values: C(6,2)=15, C(4,1)=4, C(10,3)=120, C(6,3)=20, C(4,0)=1.
Add the two probabilities: (60/120) + (20/120) = 80/120 = 2/3 ≈ 0.6667. Present the final answer clearly.
As a check, compute P(0 red) = C(6,0)*C(4,3)/120 = 4/120 and P(1 red) = C(6,1)*C(4,2)/120 = 36/120. Sum = 40/120, so 1 - 40/120 = 80/120 = 2/3, confirming the result.
AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.