EPAM Systems interview question

Do you know how does HashSet work?