1180. Count Substrings with Only One Distinct Letter
Given a string
s
, return the number of substrings that have only one distinct letter.
1 | class Solution { |
1180. Count Substrings with Only One Distinct Letter
Given a string
s
, return the number of substrings that have only one distinct letter.
1 | class Solution { |