Complexity of Some STL Container Operations


"Element insertion and removal" refers to insertion and removal of a single element.

std::vector

std::list

std::deque

std::set

std::map