Problem 3985 · Hard

Palindromic Subarray Sum

Grow each palindrome outward from its center and keep the largest sum of any palindromic subarray.

Open the interactive visualisation