Amdocs interview question

Difference between Set and Map. How does hashing work.