Search
⌘K

Leetcode 2559. Count Vowel Strings in Ranges

Given an array of words and many range queries, count how many strings in each query range start and end with a vowel; preprocess by marking valid words and using a prefix-sum to answer each query in O(1).


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.

Leetcode 2559. Count Vowel Strings in Ranges | Hello Interview