EPAM Systems Interview Question

Do you know how does HashSet work?