You are given a string s of even length. Split this string into two halves of equal length, letting a be the first half and b be the second half.
Two strings are alike if they have the same number of vowels ('a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', 'O', 'U'). Notice that s contains both uppercase and lowercase English letters.
Return true if a and b are alike, or false otherwise.
Constraints:
s.length
s.length is even.
s consists of uppercase and lowercase letters.
You are given a string s of even length. Split this string into two halves of equal length, letting a be the first half and b be the second half.
Two strings are alike if they have the same number of vowels ('a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', 'O', 'U'). Notice that s contains both uppercase and lowercase English letters.
Return true if a and b are alike, or false otherwise.
Constraints:
s.length
s.length is even.
s consists of uppercase and lowercase letters.