Question d’entretien chez Intuit

leetcode medium hard question was asked.