Problem 1781 · Medium
Sum the difference between highest and lowest positive character frequencies over all substrings.
Open the interactive visualisation