mirror of
https://github.com/krahets/hello-algo.git
synced 2026-08-24 00:57:14 +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