Can anyone answer an interesting follow-up for this question?


  • 0
    V

    Given an array, write an algorithm to determine if there is such a wiggle sorted solution.

    Can you prove the correctness?


Log in to reply
 

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