Reverse Array Problem Leetcode 754025