Pregunta de entrevista de IBM

leetcode easy to medium problem solving.