Module M29 · 29 of 35 in teaching order · Intermediate

Divide and Conquer

Divide, solve, combine; recurrences, the Master theorem and where it applies.

Lessons

  1. Divide, solve, combine; recurrences and recursion trees; the Master theorem and where it does not apply; quickselect with expected O(n) and an honest O(n²) worst case.

Topics this module covers

The full module scope. Topics without a lesson above are not written yet.

  • divide/solve/combine
  • recurrences
  • recursion tree
  • Master theorem and applicability
  • merge/quick deep dive
  • quickselect
  • inversions
  • recognition

Builds toward