AMD interview question

How to reverse an int array