MediumDP
Maximum Alternating Subsequence Sum
The alternating sum of a sequence is defined as the sum of elements at even indices minus the sum of elements at odd indices.
This is an Arena challenge - solutions are not shown publicly.
Work on this problem and submit your solution to contribute!