Maximum Alternating Subarray Sum

mediumSolve on LeetCodeLast edited: August 2, 2025