Pergunta de entrevista da empresa IXL Learning

Walked through LC medium question for interview