Pergunta de entrevista da empresa Volant Trading

past project, algorithm question