Pregunta de entrevista de Crowe LLP

Rotating an array in the most efficient way

Respuesta de la entrevista

Anónimo

25 abr 2024

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