Pergunta de entrevista da empresa Malam Team Israel

how rotate a array in the sortest way

Resposta da entrevista

Sigiloso

19 de dez. de 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