978. Longest Turbulent Subarray 題目敘述 Given an integer array arr, return the length of a maximum size turbulent subarray of arr. A subarray is turbulent if the comparison sign flips between each adjacent pair of elements in the subarray. More formally...
Markdown supported · ⌘↵ to post
No responses yet.