Question d’entretien chez Google

Arrange array in reverse but their was a trick