Pergunta de entrevista da empresa Abacus.AI

Coding question was a leetcode easy question