Divide and conquer algorithms
|Algorithm||Worst-case running time||Best-case running time||Average-case running time|
- Divide the problem into a number of subproblems that are smaller instances of the same problem.
- Conquer the subproblems by solving them recursively. If they are small enough, solve the subproblems as base cases.
- Combine the solutions to the subproblems into the solution for the original problem.