Two Pointer Technique Leetcode Playground Python