首页 > TAG信息列表 > DpUp
LeetCode 376 Wiggle Subsequence DP+思维
A wiggle sequence is a sequence where 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 with one element and a sequence with two