Two Pointer Array Problems Leetcode Python Practice