Reverse Array Problem Leetcode Two Pointer