Solution: Count Vowel Strings in Ranges
C# solution for the Count Vowel Strings in Ranges problem using the Knowing What to Track pattern.
We'll cover the following...
We'll cover the following...
Statement
You are given an array of strings words and a list of range queries queries. Each query is a pair of indices [l_i, r_i] that refers to the subarray words[l_i..r_i] (inclusive).
For each query, return how many strings in the specified range both start and end with a vowel. Vowels are the lowercase letters a, e, i, o, and u.
Return an array of answers in the same order as queries.
Constraints:
words.length...