修改(0376.摆动序列.md):修改了逻辑小错误

This commit is contained in:
hutbzc
2022-02-01 23:08:56 +08:00
parent 40c06155f9
commit 5a2ff02b94

View File

@ -174,7 +174,7 @@ public:
```Java
class Solution {
public int wiggleMaxLength(int[] nums) {
if (nums == null || nums.length <= 1) {
if (nums.length <= 1) {
return nums.length;
}
//当前差值