Problem 1802 · Medium
Maximize one array position under positive-value, adjacent-difference, and total-sum limits.
Open the interactive visualisation