Pregunta de entrevista de Revolut

Time complexity of HashSet and how does it work?