https://leetcode.com/problems/determine-if-string-halves-are-alike
1704. Determine if String Halves Are Alike
給一個偶數長度的字串s,把它分成兩半。如果兩半的母音數量相同則為Alike,傳回True
Example 1:
Input: s = "book"
Output: true
Explanation: a = "bo" and b = "ok". a has 1 vowel and b has 1 vowel.
Therefore, they are alike.
Python Code: