Leetcode Two Pointer Problems Leetcode 752