Question d’entretien chez Palo Alto Networks

leetcode medium based array question