Two Sum Problem In Leetcode Javascript Questions