Divide & Conquer
Divide problem into multiple smaller parts
Solve smaller parts
Solve base cases directly
Otherwise, solve subproblems recursively
Merge solutions together (Conquer!)
Often leads to elegant and simple recursive implementations.
Previous slide
Next slide
Back to first slide
View graphic version