Accenture interview question

Java 8 , streams , hashmap internal working