Question d’entretien chez Smarkets

Reverse an array.

Réponse à la question d'entretien

Utilisateur anonyme

19 avr. 2018

Did it in O(n) without an additional data structure. Loop through half of the array and use a temp variable to swap values.