Question d’entretien chez Google

What does this code do?

Réponse à la question d'entretien

Utilisateur anonyme

11 mars 2015

They showed me some code that looked like merge sort but was wrong. I had to fix it.