Reverse The Array Leetcode Question