Available question text
Given a string and two integers a and b, a substring is considered redundant if its length equals a * V + b * C, where V and C are the number of vowels and consonants in the substring respectively. Find the total count of redundant substrings within the given string.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
Amazon
Count Redundant Substrings Where Length Equals a*Vowels + b*Consonants
Reported Jul 20, 2025 · 1 source report
SENIOR
Source snapshot: Nov 12, 2026
View source