[LeetCode]Wiggle Subsequence

题目描述:

LeetCode 376. Wiggle Subsequence

A sequence of numbers is called a wiggle sequence if the differences between successive numbers strictly alternate between positive and negative. The first difference (if one exists) may be either positive or negative. A sequence ...

继续阅读

年度归档