Pregunta de entrevista de Optiver

just math calculation , numerical sequences, pattern recognition, etc.