Two Pointers Questions Leetcode