Leetcode Two Pointer Problems Leetcode Python Beginner