Chapter 33. Examining Algorithms
Understand the concept of generic algorithms
See the difference between in-place and copy algorithms
Learn about the modifying and nonmodifying sequence algorithms
Discover the sorted sequence algorithms
Explore the heap operation, comparison, and permutation algorithms
The Standard C++ Library provides a wide assortment of generic algorithms designed to be efficient and yet work with a wide variety of data types. These generic algorithms use iterators to perform their magic. In this chapter, you’ll see how these algorithms can cut your programming time by providing plug-in solutions. These algorithms can be divided into the following seven general categories, based on their semantics ...