A common Q with a nice concise A:
What is the difference between set and unordered_set in C++?
Came across this good question, which is similar but not at all same since it talks about Java, which has different implementation of hash-tables, [...] So what is the difference in C++ implementation of
set
andunordered_set
? This question can be ofcourse extended tomap
vsunordered_map
and so on for other C++ containers.Here is my initial assessment...
Add a Comment
Comments are closed.