- 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.
推薦閱讀
- Vue.js設計與實現
- Getting started with Google Guava
- 神經網絡編程實戰:Java語言實現(原書第2版)
- Mastering JavaScript Design Patterns(Second Edition)
- Jenkins Continuous Integration Cookbook(Second Edition)
- Learning OpenCV 3 Computer Vision with Python(Second Edition)
- Scala Data Analysis Cookbook
- 詳解MATLAB圖形繪制技術
- Java Web從入門到精通(第3版)
- HTML5+CSS3+JavaScript 從入門到項目實踐(超值版)
- MongoDB Cookbook(Second Edition)
- AI自動化測試:技術原理、平臺搭建與工程實踐
- Java程序設計入門(第2版)
- Building Apple Watch Projects
- RESTful Web API Design with Node.js