LeetCode 3689: Maximum Total Subarray Value I | From Overthinking to a One-Line Solution

Some LeetCode problems look like they are hiding a Dynamic Programming monster behind a friendly title.