From 23d4c4597c3359afd93d28f398836c82877cfcba Mon Sep 17 00:00:00 2001 From: Yuhao Ju Date: Tue, 13 Dec 2022 10:54:08 +0800 Subject: [PATCH] =?UTF-8?q?update=200376.=E6=91=86=E5=8A=A8=E5=BA=8F?= =?UTF-8?q?=E5=88=97:=20=E4=BF=AE=E6=94=B9=E4=B8=80=E5=A4=84markdown?= =?UTF-8?q?=E8=AF=AD=E6=B3=95=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- problems/0376.摆动序列.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/problems/0376.摆动序列.md b/problems/0376.摆动序列.md index f9d3f97f..723d1d9a 100644 --- a/problems/0376.摆动序列.md +++ b/problems/0376.摆动序列.md @@ -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 {