First of all, what is the main difference between them?
The only thing i've found is that
They are nearly identical.
unordered_set only contains keys, and no values. There is no mapping from a key to a value, so no need for an
unordered_map maps a key to a value.
You can use the various
find methods within
unordered_set to locate things.