MathWorks Interview Question

Basic probability