std::vector<T>container
The standard contiguous dynamic array: elements stored inline, O(1) indexing, amortized constant-time push_back.
The standard contiguous dynamic array: elements stored inline, O(1) indexing, amortized constant-time push_back.
The standard hash map: average constant-time insert, find and erase, worst case linear.
The standard hash set: average constant-time insert, membership and erase.
A double-ended queue with constant-time insertion at both ends and constant-time random access; the default storage of std::queue and std::stack.
A container adapter that keeps a vector in heap order with std::push_heap/pop_heap: O(log n) push and pop, O(1) top. A max-heap by default.