My question is about hash map in c++.
Anyone knows what is time complexity for map and unordered_map and How they are implemented?
in c++, map implementation is based on R-B Tree
unordered_map is hash table.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.