Domanda di colloquio di Infosys

Average Question from leetcode to solve