Pregunta de entrevista de Optiver

Mental arithmetic, probabilities, numerical sequences