UST interview question

Internal logic of HashSet.