UnitedHealth Group interview question

Reverse an array.