Two Sum Problem In Leetcode Javascript Interview