Two Pointer Method Leetcode Contest