stdmultiset
stdmultiset, in the C++ standard library, is an associative container that stores multiple elements with equivalent keys in sorted order. It is defined as a template with parameters Key, Compare, and Allocator, defaulting to std::less<Key> for ordering and std::allocator<Key> for memory management. The type stored is Key, and the key type is the same as the value type.
Elements in a multiset are ordered according to the comparator and are kept in a balanced binary
Key operations include insert, find, erase, and count. Insertion may insert duplicates and returns an iterator
Iterators are bidirectional and traverse elements in sorted order. Complexity for insertion, erasure, and search is