mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2025-07-07 15:45:40 +08:00
update 0376.摆动序列: 修改一处markdown语法错误
This commit is contained in:
@ -286,7 +286,7 @@ class Solution:
|
||||
### Go
|
||||
|
||||
**贪心**
|
||||
```golang
|
||||
```go
|
||||
func wiggleMaxLength(nums []int) int {
|
||||
n := len(nums)
|
||||
if n < 2 {
|
||||
@ -309,7 +309,7 @@ func wiggleMaxLength(nums []int) int {
|
||||
```
|
||||
|
||||
**动态规划**
|
||||
```golang
|
||||
```go
|
||||
func wiggleMaxLength(nums []int) int {
|
||||
n := len(nums)
|
||||
if n <= 1 {
|
||||
|
Reference in New Issue
Block a user