Two Pointers Questions Leetcode Contest