Pergunta de entrevista da empresa IBM

One leetcode easy during interview