Pregunta de entrevista de Binance

What is HashSet and HashMap. How do they work?