Pergunta de entrevista da empresa IXL Learning

Leetcode medium with a bit of OOP