Pergunta de entrevista da empresa Citadel Securities

Running max on arry and further questions based on that