Optiver interview question

Mental arithmetic, probabilities, numerical sequences