Set and Map Templates in C++

Learn to use the set and map templates of the STL.

We'll cover the following

Whatever data structures we implement or algorithms we use, we need to remember that time complexity is a significant factor. In this lesson, we’ll look at set and then map. Both belong to the associative container classes. Because both implement sorted data structures, the search operation takes less time.

Get hands-on with 1200+ tech skills courses.