Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b01155f

Browse files
committed
docs:修改错别字
1 parent 9cea156 commit b01155f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎problems/0376.摆动序列.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464

6565
在计算是否有峰值的时候,大家知道遍历的下标 i ,计算 prediff(nums[i] - nums[i-1]) 和 curdiff(nums[i+1] - nums[i]),如果`prediff < 0 && curdiff > 0` 或者 `prediff > 0 && curdiff < 0` 此时就有波动就需要统计。
6666

67-
这是我们思考本题的一个大题思路,但本题要考虑三种情况:
67+
这是我们思考本题的一个大体思路,但本题要考虑三种情况:
6868

6969
1. 情况一:上下坡中有平坡
7070
2. 情况二:数组首尾两端

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /