LeetCode之Determine if String Halves Are Alike(Kotlin)
问题:方法:很简单的问题,先把字符拆分,然后遍历统计命中的字符,最后比较数量即可。classDetermineIfStringHalvesAreAlike{privatevalcharacters=listOf('a','e','i','o','u','A','E','I','O','U')funhalvesAreAlike(s:String):Boolean{valhalfOne=s.subst