Pergunta de entrevista da empresa IXL Learning

Leetcode style questions, easy to medium