Two Pointer Array Problems Leetcode Solutions Extensions