LeetCode

Wiggle Subsequence

Click here for an explanation.