Question d’entretien chez Meta

Algorithm questions, both were really easy