Goldman Sachs Interview Question

How does HashMap work internally in Java?