Leetcode Solution Two Sum Leetcode Javascript Questions