Jane Street interview question

Standard coding OOP, probability, brain teasers