Search
⌘K
Get Premium
Leetcode 1704. Determine if String Halves Are Alike
Split the even-length string into two equal halves and determine whether the two halves contain the same number of vowels (case-insensitive 'a', 'e', 'i', 'o', 'u'); return true if the vowel counts match, otherwise false.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.