Pergunta de entrevista da empresa Old Mission

Probability questions and leetcode medium