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
setandunordered_set? This question can be ofcourse extended tomapvsunordered_mapand so on for other C++ containers.Here is my initial assessment...

Add a Comment
Comments are closed.