Pregunta de entrevista de Abacus.AI

Coding question was a leetcode easy question