Dsa
Recursion
Warm-up
The Vowel Relay
Given a list of words, calculate the total number of vowels (a, e, i, o, u - case insensitive) across all words using a recursive approach.
Input Format:
Line 1: An integer N, the number of words.
Next N lines: One word per line.
Output Format: A single integer.
Example:
Input:
2
Hello
World
Output: 3
Key concepts
recursionstring manipulation
Practise this out loud — free
Start a mock interview on THIS exact question — a voice AI interviewer opens with it, pushes back like a real onsite, then hands you an instant scorecard.
🎙 Practise this question now