Leetcode Two Pointer Approach In Arrays