Set and Map Templates in C++
Learn to use the set and map templates of the STL.
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.
Access this course and 1400+ top-rated courses and projects.