Sponsored
Use these hints if you're stuck. Try solving on your own first.
Iterate over all substrings and maintain the frequencies of vowels and consonants.
Solve with full IDE support and test cases