Pergunta de entrevista da empresa Infosys

Average Question from leetcode to solve