Solution: Count Substrings with Only One Distinct Letter
Solution: Count Substrings with Only One Distinct Letter asks you to return how many substrings of a string contain just one distinct letter.
We'll cover the following...
We'll cover the following...
Statement
Given a string s, return the total number of substrings that contain only one distinct letter.
Constraints:
...