The STL is a powerful collection of classes and functions for handling common data structures and algorithms β making C++ feel modern as hell.
vector
β Dynamic array (fast random access, slow inserts/removals in middle)list
β Doubly linked listmap
β Key/value pairs (ordered by key)unordered_map
β Faster, no orderset
β Sorted unique valuesqueue
, stack
, priority_queue
β Specialized container adapterssort()
find()
count()
reverse()
accumulate()
(from <numeric>)