Pregunta de entrevista de Optiver

Several quick math questions, a few probability questions, and two coding questions