Question d’entretien chez Apple

medium leetcode question has been asked