Tap here to switch tabs
Problem
Submissions

Problem: Trim Trailing Vowels

med
30 min
Try to solve the Trim Trailing Vowels problem.

Statement

Given a string s, remove all trailing vowels from the string and return the resulting string.

The English vowels are 'a', 'e', 'i', 'o', and 'u'.

Constraints:

  • 1≤1 \leq s.length ≤100\leq 100

  • s consists of only lowercase English letters.

⋮
Tap here to switch tabs
Problem
Submissions

Problem: Trim Trailing Vowels

med
30 min
Try to solve the Trim Trailing Vowels problem.

Statement

Given a string s, remove all trailing vowels from the string and return the resulting string.

The English vowels are 'a', 'e', 'i', 'o', and 'u'.

Constraints:

  • 1≤1 \leq s.length ≤100\leq 100

  • s consists of only lowercase English letters.