Pergunta de entrevista da empresa S&P Global

Nothing too hard, brush up on data structures and OOP.