Rakuten interview question

Array reversal in optimized way?