Pregunta de entrevista de J.P. Morgan

Leetcode medium and one leetcode easy problem