Two Pointer Array Problems Geeksforgeeks Practice Python