Holidu interview question

How does HashSet work internally?