C++ Standard Library Tools for Divide and Conquer
In the previous section, we manually implemented the necessary functions for divide-and-conquer algorithms. However, the C++ standard library comes bundled with a large set of predefined functions that can save us a lot of work when programming. The following table provides a handy list of the most commonly used functions that are used while implementing algorithms that use the divide-and-conquer paradigm. We are briefly describing these functions for reference, but the detailed implementation is left out of the scope of this chapter for brevity. Feel free to explore more about these functions; you should be able to understand them based on the concepts we've covered in this chapter: