Arrays And Hashing Leetcode 150