C++20 sections · 1024 units
Open in Course

Section Recap

What we learned

You now use STL algorithms for cleaner code.

1.1. sort() orders elements, with custom comparators

2.2. find() and binary_search() locate elements

3.3. accumulate() sums values, unique() removes duplicates

4.4. next_permutation() generates all orderings

Good job. You write less code that does more. Next, you will learn object-oriented programming with classes.