Domanda di colloquio di Sportradar

Difference between hashmap and sets. How does it handle hash collision? What are the runtime and the space complexities for the same?