Old Mission Interview Question

Probability questions and leetcode medium