GitBook: [#2] No subject

This commit is contained in:
Cores
2022-01-07 09:00:01 +00:00
committed by gitbook-bot
parent 456ff183d5
commit fa872a22b7
119 changed files with 4436 additions and 5678 deletions

View File

@ -2,13 +2,14 @@
## 题目链接
[Leetcode121. Best Time to Buy and Sell Stock ](https://leetcode.com/problems/best-time-to-buy-and-sell-stock/description/)
[Leetcode121. Best Time to Buy and Sell Stock](https://leetcode.com/problems/best-time-to-buy-and-sell-stock/description/)
## 题目描述
可以有一次买入和一次卖出买入必须在前求最大收益
<div align="center"> <img src="https://cs-notes-1256109796.cos.ap-guangzhou.myqcloud.com/42661013-750f-420b-b3c1-437e9a11fb65.png" width="220px"> </div><br>
![](https://cs-notes-1256109796.cos.ap-guangzhou.myqcloud.com/42661013-750f-420b-b3c1-437e9a11fb65.png)\
## 解题思路