Deloitte Interview Question

Internal working if hashmap