Problem 1759 · Medium
Count nonempty substrings made entirely of one repeated character.
Open the interactive visualisation