Jane Street Interview Question

Probability question