Pregunta de entrevista de IXL Learning

Easy to medium level questions from leetcode and hackerrank.