Two Pointer Approach Leetcode Contest Answers