Pregunta de entrevista de Malam Team Israel

how rotate a array in the sortest way

Respuesta de la entrevista

Anónimo

19 dic 2024

a loop till n/2 for each element to switch with the n-i element like the first element sould swithe with the last the second with the elemet in n-1 place