How to solve Leetcode 1641. Count Sorted Vowel Strings