Pergunta de entrevista da empresa IMC Trading

A series of questions asking to optimize a particular algorithm,