Question d’entretien chez Meta

Walk me through how you would solve this problem