Search
⌘K
Get Premium
Leetcode 3306. Count of Substrings Containing Every Vowel and K Consonants II
Count the number of substrings of a given lowercase string that include each vowel (a, e, i, o, u) at least once and contain exactly k consonants. With string length up to 2·10^5, the core challenge is to efficiently enumerate substrings while maintaining vowel coverage and an exact consonant count.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.