Two Pointer Technique Leetcode Problems Javascript Function How To Use