Pregunta de entrevista de Workday

- leetcode easy and medium question