Problems

Count Vowels

easy
easy
strings

Given a string s, return the number of vowels (a, e, i, o, u, case-insensitive) it contains.

Examples

Example 1

Input: s = "hello"
Output: 2

Example 2

Input: s = "AEIOU"
Output: 5

Example 3

Input: s = "xyz"
Output: 0

Running will execute all 3 cases.