Jane Street Interview Question

Standard coding OOP, probability, brain teasers