Pergunta de entrevista da empresa Sportradar

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