Question d’entretien chez Meta

basic algo question and 2nd one is more difficult