Capgemini Interview Question

How HashMap and HashSet Work Internally?