mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 13:24:05 -06:00
342 B
342 B
| title | aliases | tags | ||
|---|---|---|---|---|
| divide-and-conquer | Divide and Conquer |
|
Divide an conquer algorithms have three parts:
- pre ⇒ break apartinto two or more smaller problems whose size add up to at most n
- Rec ⇒ solve those problems recursively
- post ⇒ combine solutions into a solution of the original problem