Jane Street interview question

mental maths and probability