Jane Street interview question

Probability questions test