Pergunta de entrevista da empresa Jane Street

Probability question and critical thinking math problem