更正了121、122、123、188md格式错误,好心干了坏事,把卡哥格式改了,吓死,赶紧改过来

This commit is contained in:
LiHua
2021-11-24 21:54:22 +08:00
parent 7575cfd431
commit 2517bb6039
4 changed files with 22 additions and 20 deletions

View File

@@ -131,7 +131,7 @@ public:
## 其他语言版本
### Java
Java:
```java
// 贪心思路
@@ -186,9 +186,8 @@ class Solution {
}
```
Python:
### Python
```python
class Solution:
def maxProfit(self, prices: List[int]) -> int:
@@ -212,7 +211,8 @@ class Solution:
return dp[-1][1]
```
### Go
Go:
```golang
//贪心算法
func maxProfit(prices []int) int {
@@ -248,7 +248,8 @@ func maxProfit(prices []int) int {
}
```
### Javascript
Javascript:
贪心
```Javascript
var maxProfit = function(prices) {
@@ -284,7 +285,8 @@ const maxProfit = (prices) => {
};
```
### C
C:
```c
int maxProfit(int* prices, int pricesSize){
int result = 0;