Algorithms

o use these algorithms it is necessary to include the <algorithm> header file. For the numeric algorithms, it is necessary to include the <numeric> header file. As with containers and iterators, algorithms are categorised according to their behaviour and application:

Nonmodifying Algorithms

Modifying Algorithms

Removal Algorithms

Mutating Algorithms

Sorting Algorithms

Sorted Range Algorithms

Numeric Algorithms

In later articles we will be making extensive use of these algorithms. Not only do they save us valuable time, but we are able to ascertain their performance characteristics from the C++ Reference on Algorithms. Further, they have all been highly optimised via their respective compilers and so our programs will likely run significantly faster than if we construct our own.

From www.quantstart.com