Jane Street interview question

Math problems, probability and some brain teasers.