Jane Street Interview Question

Brain teaser and probability