[42 Project] → ft_Containers
Learn Time 🧑🎓.Containers library.Sequence containers.Associative containers.std::map vs std::setContainer adaptors.Warm-up Time 💡.Start Coding.Vector and Stack.Reference
Learn Time 🧑🎓.
Containers library.
The Containers library is a generic collection of class templates and algorithms that allow programmers to quickly implement common data structures like queues, lists and stacks. There are two (until C++11) and three (since C++11) classes of containers:
- Sequence containers.
- Associative containers and,
- Unordered associative containers (since c++11).
On This Post, we will discuss only containers c++98; for more information regarding Containers STL, please visit this link.
Sequence containers.
Sequence containers implement data structures which can be accessed sequentially.
Sequence_containers
Associative containers.
Associative containers implement sorted data structures that can be quickly searched (O(log n)
complexity).
Associative_containers
std::map vs std::set
Container adaptors.
Container adaptors provide a different interface for sequential containers.
Container_adaptors
Warm-up Time 💡.
Now is the time To learn new stuff to help us with our projects.
warm_up
Name
Tags