The variance of a string is defined as the largest difference between the frequencies of any
Given a string s consisting of lowercase English letters, return the maximum variance among all substrings of s.
A substring is a contiguous non empty sequence of characters within a string.
Constraints:
s.length
s consists of lowercase English letters.
The variance of a string is defined as the largest difference between the frequencies of any
Given a string s consisting of lowercase English letters, return the maximum variance among all substrings of s.
A substring is a contiguous non empty sequence of characters within a string.
Constraints:
s.length
s consists of lowercase English letters.