Infosys interview question

Internal implementation of Hashmap and improvement in Java 8