mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2026-02-02 18:39:09 +08:00
更新图片链接
This commit is contained in:
2
problems/0121.买卖股票的最佳时机.md
Normal file → Executable file
2
problems/0121.买卖股票的最佳时机.md
Normal file → Executable file
@@ -129,7 +129,7 @@ dp[0][1]表示第0天不持有股票,不持有股票那么现金就是0,所
|
||||
以示例1,输入:[7,1,5,3,6,4]为例,dp数组状态如下:
|
||||
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
dp[5][1]就是最终结果。
|
||||
|
||||
Reference in New Issue
Block a user