Leetcode Reverse An Array Using Pointers