Capgemini interview question

How HashMap and HashSet Work Internally?