Page 1 of 1

Which of the following is correct about the map and unordered map?

Posted: Wed Jul 13, 2022 7:53 pm
by answerhappygod
a) Ordering of keys in maps whereas no such order in the unordered map
b) Maps are implemented red-black trees whereas unordered map are implemented using hash tables
c) Average search time in the unordered map is O(1) whereas it is O(logn) in case of maps
d) All of the mentioned