Leetcode Two Sum Problem In Javascript How To Create