Pregunta de entrevista de Avanza

Reverse a sorted array without using in built functions