Accenture Interview Question

Java 8 , streams , hashmap internal working