Two Pointer Leetcode Questions Company