3306. Count of Substrings Containing Every Vowel and K Consonants II
You are given a string
word
and a non-negative integerk
.Return the total number of substrings of
word
that contain every vowel ('a'
,'e'
,'i'
,'o'
, and'u'
) at least once and exactlyk
consonants.
go
1 | package main |