LTIMindtree interview question

Collection hashmap, hashing and method overriding