Pregunta de entrevista de Jane Street

Probability question and critical thinking math problem