Reverse An Array In Place Leetcode