mirror of
https://github.com/krahets/hello-algo.git
synced 2026-08-10 02:50:59 +00:00
Prepare 1.3.0 release (#1838)
* Update the contributors list. * Update the version number. * Sync zh and zh-hant versions. * Move epub builder to the utils branch. * Optimize all figure files using pngquant. * Update copyright. * Update Acknowledgements. * Update buttons in README.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# 小結
|
||||
|
||||
### 重點回顧
|
||||
|
||||
- 分治是一種常見的演算法設計策略,包括分(劃分)和治(合併)兩個階段,通常基於遞迴實現。
|
||||
- 判斷是否是分治演算法問題的依據包括:問題能否分解、子問題是否獨立、子問題能否合併。
|
||||
- 合併排序是分治策略的典型應用,其遞迴地將陣列劃分為等長的兩個子陣列,直到只剩一個元素時開始逐層合併,從而完成排序。
|
||||
|
||||
Reference in New Issue
Block a user