Question d’entretien chez Exodus

How I would solve a specific algorithm