Avanza interview question

Reverse a sorted array without using in built functions