Pergunta de entrevista da empresa Squarepoint Capital

some programming problems, math and stats problem