Skip to content
Onsite

Check String Has a Vowel

EasyP3Coding

Return true if the lowercase string s contains at least one of the vowels a, e, i, o, u, and false otherwise.

Example 1

Input
s = "hello"
Output
true

Example 2

Input
s = "sky"
Output
false

Example 3

Input
s = ""
Output
false

Constraints

  • 0 <= s.length <= 10^5
  • s consists of lowercase letters.

Hints

Run checks the 3 visible tests, Submit all 10.