mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-08 08:50:15 +08:00
update 0714.买卖股票的最佳时机含手续费:修改markdown语法错误
This commit is contained in:
@ -217,7 +217,7 @@ class Solution: # 贪心思路
|
||||
```
|
||||
|
||||
### Go
|
||||
```golang
|
||||
```go
|
||||
func maxProfit(prices []int, fee int) int {
|
||||
var minBuy int = prices[0] //第一天买入
|
||||
var res int
|
||||
|
Reference in New Issue
Block a user