Problem 1749 · Medium

Maximum Absolute Sum of Any Subarray

Find the greatest absolute sum of any subarray, allowing the empty subarray.

Open the interactive visualisation