Pergunta de entrevista da empresa Solution Street

Coding exercise was a simple data structure problem