You are given a string s that contains only lowercase English letters.
A substring of s is called special if it is composed of only a single distinct character.
Return the length of the longest special substring of s that appears at least
Constraints:
s.length
s consists of only lowercase English letters.
You are given a string s that contains only lowercase English letters.
A substring of s is called special if it is composed of only a single distinct character.
Return the length of the longest special substring of s that appears at least
Constraints:
s.length
s consists of only lowercase English letters.