GlobalLogic Interview Question

how hash set works