Pergunta de entrevista da empresa Index Exchange

Technical wise a coding question to do