Skip to content

Commit

Permalink
Update 01.Divide-And-Conquer-Algorithm.md
Browse files Browse the repository at this point in the history
  • Loading branch information
itcharge committed May 14, 2024
1 parent 06782a5 commit 395dd7d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

从定义上来看,分治算法的思想和递归算法的思想是一样的,都是把规模大的问题不断分解为子问题。

其实,分治算法和递归算法的关系是包含与被包含的关系,可以看做: **递归算法分治算法**
其实,分治算法和递归算法的关系是包含与被包含的关系,可以看做: $\text{递归算法} \in \text{分治算法}$

分治算法从实现方式上来划分,可以分为两种:「递归算法」和「迭代算法」。

Expand Down

0 comments on commit 395dd7d

Please sign in to comment.