mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2026-02-02 18:39:09 +08:00
更正了121、122、123、188md格式错误,好心干了坏事,把卡哥格式改了,吓死,赶紧改过来
This commit is contained in:
@@ -188,7 +188,7 @@ dp[1] = max(dp[1], dp[0] - prices[i]); 如果dp[1]取dp[1],即保持买入股
|
||||
|
||||
## 其他语言版本
|
||||
|
||||
### Java
|
||||
Java:
|
||||
|
||||
```java
|
||||
// 版本一
|
||||
@@ -244,7 +244,7 @@ class Solution {
|
||||
}
|
||||
```
|
||||
|
||||
### Python
|
||||
Python:
|
||||
|
||||
> 版本一:
|
||||
```python
|
||||
@@ -311,9 +311,7 @@ func max(a,b int)int{
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
|
||||
### JavaScript
|
||||
JavaScript:
|
||||
|
||||
> 版本一:
|
||||
|
||||
@@ -352,7 +350,7 @@ const maxProfit = prices => {
|
||||
};
|
||||
```
|
||||
|
||||
### Go
|
||||
Go:
|
||||
|
||||
> 版本一:
|
||||
```go
|
||||
|
||||
Reference in New Issue
Block a user