Toshiba interview question

Reversing numbers in a array