- Mastering C++ Programming
- Jeganathan Swaminathan
- 94字
- 2021-07-02 18:28:53
Unordered maps
An unordered map works in a manner similar to a map, except that the internal behavior of these containers differs. A map makes use of red-black trees while unordered map makes use of hash tables. The time complexity of map operations is O( log N) while that of unordered map operations is O(1); hence, an unordered map tends to be faster than a map.
The values stored in an unordered map are not organized in any particular fashion, unlike in a map where values are sorted by keys.
推薦閱讀
- Learning LibGDX Game Development(Second Edition)
- 大學(xué)計(jì)算機(jī)基礎(chǔ)(第三版)
- Spring 5企業(yè)級(jí)開(kāi)發(fā)實(shí)戰(zhàn)
- Python從小白到大牛
- 數(shù)據(jù)結(jié)構(gòu)習(xí)題精解(C語(yǔ)言實(shí)現(xiàn)+微課視頻)
- Neo4j Essentials
- Android 7編程入門(mén)經(jīng)典:使用Android Studio 2(第4版)
- Linux網(wǎng)絡(luò)程序設(shè)計(jì):基于龍芯平臺(tái)
- Scala Reactive Programming
- Python深度學(xué)習(xí)原理、算法與案例
- Essential C++(中文版)
- Visual Basic程序設(shè)計(jì)(第三版)
- Tableau Desktop可視化高級(jí)應(yīng)用
- Oracle Data Guard 11gR2 Administration Beginner's Guide
- Python機(jī)器學(xué)習(xí)與量化投資