Optiver Interview Question

Mental arithmetic, probabilities, numerical sequences