Wishlink Interview Question

implement hashmap with an array