Dsa
Strings
Warm-up
Vowel Count
Write a function that takes a string input and returns the number of vowels (a, e, i, o, u) in that string. Ignore case sensitivity.
Example:
Input:
Hello World
Output:
3
Key concepts
stringscountingvowels
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