Reverse An Array In Place Leetcode Problems