Jane Street interview question

Basic Probability