Two Pointer Leetcode Problems On Strings