Pergunta de entrevista da empresa BlackRock

Data structure and algorithm problems, quite typical