Is it true that there must be a wiggle subsequence that starts from index 0?


  • 0
    C

    I think yes.(suppose we have already deleted any duplicates at the beginning)
    If we find this point out, the solution is trivial


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.