My Vault

Home

❯

divide and conquer

divide-and-conquer

Jun 23, 20241 min read

  • cse/algorithm
  • course/complexity-and-algorithms

Divide and Conquer

Definition

  • Divide the problem into one or more subproblems that are smaller instances of the same problem.
  • Conquer the subproblems by solving them recursively.
  • Combine the subproblem solutions to form a solution to the original problem.
  • A good option for parallel executions.
  • The recursion bottoms out when it reaches the base case.
  • Use recurrence to characterize its running time.
  • Examples
    • binary-multiplication
    • Strassen’s algorithm for matrix multiplication
    • Merge Sort

Graph View

Backlinks

  • algorithm
  • binary-multiplication
  • complexity-and-algorithms
  • matrix-multiplication
  • max-subarray
  • merge-sort
  • prune-and-search
  • strassen
  • visibility-problem

Created with Quartz v4.5.2 © 2026

  • GitHub
  • Homepage