Count Vowels in String Problem
Count Vowels in String Problem — ExecCode School DSA Practice
Solve the Count Vowels in String problem on ExecCode. Free online school DSA practice in String. Write and run code in Java, C++, Python — no signup required to run.
Problem description
Given a string, count the total number of vowels (a, e, i, o, u, case-insensitive) present in it. Your task is to understand the rule and print the correct answer. You are working on Count Vowels in String.
Examples
Input hello; Output 2. Input aeiou; Output 5
Constraints
1 <= n <= 10^5
Practice Count Vowels in String free on ExecCode. Browse DSA problems, topic map, and placement guides.