SpaceX interview question

How does a hash map differ from a set?