Two Pointer Problems Leetcode Javascript Practice Games