Leetcode Two Pointer Questions