Leetcode Two Pointer Approach Python W3schools