Question d’entretien chez Meta

Technical algorithm question with choice of language.