All Vowels
Practice
3.9 (256 votes)
Ad Hoc
Approved
Basic programming
Easy
Open
Problem
67% Success 22750 Attempts 20 Points 2s Time Limit 256MB Memory 1024 KB Max Code
Vowels are very essential characters to form any meaningful word in English dictionary. There are 5 vowels in English language - a, e, i, o u. You are given a randoms string containing only lowercase letters and you need to find if the string contains ALL the vowels.
Input:
FIrst line contains N , the size of the string.
Second line contains the letters (only lowercase).
Output:
Print "YES" (without the quotes) if all vowels are found in the string, "NO" (without the quotes) otherwise.
Constraints:
The size of the string will not be greater than 10,000
1 ≤ N ≤ 10000
Submissions
Please login to view your submissions
Similar Problems
Points:20
28 votes
Tags:
Ad-HocApprovedBasic ProgrammingEasyHash MapsOpen
Points:20
36 votes
Tags:
ApprovedBasic ProgrammingEasyHash MapsOpen
Points:20
16 votes
Tags:
Accessing MapsData StructuresEasyHash TablesImplementationPriority queueString Manipulation
Editorial