Two Pointer In Leetcode Javascript Interview