Question d’entretien chez Infosys

Average Question from leetcode to solve