mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-08 16:54:50 +08:00
Merge pull request #780 from DoubleYellowIce/patch-2
Update 0122.买卖股票的最佳时机II.md
This commit is contained in:
@ -52,7 +52,7 @@
|
||||
|
||||
**如果想到其实最终利润是可以分解的,那么本题就很容易了!**
|
||||
|
||||
如果分解呢?
|
||||
如何分解呢?
|
||||
|
||||
假如第0天买入,第3天卖出,那么利润为:prices[3] - prices[0]。
|
||||
|
||||
|
Reference in New Issue
Block a user