Question d’entretien chez Crowe LLP

Rotating an array in the most efficient way

Réponse à la question d'entretien

Utilisateur anonyme

25 avr. 2024

For minimal effort, reverse the array, then reverse the first k elements, followed by the rest.