Leetcode 978. Longest Turbulent Subarray | Hello Interview