Difference between HashSet and HashMap?
Apart from the fact that HashSet does not allow duplicate values, what is the difference between HashMap and HashSet? I mean implementation wise? It’s a little bit vague because both use hash tables to store values. 20 Answers 20