Leetcode Problems Two Sum Solution Javascript For Mac