This commit is contained in:
programmercarl
2023-02-10 10:09:04 +08:00
parent f108f864ca
commit 6884c44f72
4 changed files with 22 additions and 21 deletions

View File

@@ -73,7 +73,7 @@ Carl个人认为如果找出局部最优并可以推出全局最优就是
大家都知道股票系列问题是动规的专长,其实用贪心也可以解决,而且还不止就这两道题目,但这两道比较典型,我就拿来单独说一说
* [贪心算法买卖股票的最佳时机II](https://programmercarl.com/0122.买卖股票的最佳时机II.html)
* [贪心算法:买卖股票的最佳时机含手续费](https://programmercarl.com/0714.买卖股票的最佳时机含手续费.html)
* [贪心算法:买卖股票的最佳时机含手续费](https://programmercarl.com/0714.买卖股票的最佳时机含手续费.html) 本题使用贪心算法比较绕,建议理解动态规划就好
### 两个维度权衡问题