Why is there an implementation of set data structure in C++ when the same thing can be done using map, although map will take 2*n space rather than n but it should not affect anything. I have read about set and map and only significant difference is key and value, which is not convincing.
Aucun commentaire:
Enregistrer un commentaire