Arrays And Hashing Leetcode Javascript Interview