Exercises/#103 Count Vowels
#103

Count Vowels

EasyπŸ”€ Strings
30 XP

Problem

Given a string, count the number of vowels (a, e, i, o, u β€” case insensitive).

Examples

Input: s = 'Hello World'
Output: 3

Input: s = 'rhythm'
Output: 0
string
AI Assistantβ€” powered by AI

Unlock hints progressively β€” start gentle, go deeper only if needed.

πŸ’‘

Level 1: Gentle Nudge

A subtle direction

πŸ—ΊοΈ

Level 2: Approach

The algorithm to use

πŸ”

Level 3: Detailed

Step-by-step guidance

103 / 150

Your Solution

⚑ JavaScript

to save progress and use AI features