Two Sum Solution In Leetcode Javascript Problems Solving