Deloitte interview question

Internal working if hashmap