Given a string s consisting of lowercase English letters, find the sum of the maximum frequency of any vowel and the maximum frequency of any consonant in s.
If there are no vowels in s, the maximum vowel frequency is s, the maximum consonant frequency is
Note: The vowels are
'a','e','i','o', and'u'. All other lowercase English letters are consonants.
Constraints:
s.length
s consists of lowercase English letters only.
Given a string s consisting of lowercase English letters, find the sum of the maximum frequency of any vowel and the maximum frequency of any consonant in s.
If there are no vowels in s, the maximum vowel frequency is s, the maximum consonant frequency is
Note: The vowels are
'a','e','i','o', and'u'. All other lowercase English letters are consonants.
Constraints:
s.length
s consists of lowercase English letters only.