Introduction
std::unordered_map is C++’s hash table container, providing \(O(1)\) constant-time insertion, loopkup and delete operations on average. In this blog post, I explore the basic API of unordered_map.
Construction
std::unordered_map is a class template in the header <unordered_map>.