#3856
Trim Trailing Vowels
newbie · 220 · lc easy +17 · 77.1% accepted · 24 likes · top 88%
Description
Given a string s of lowercase English letters, strip all trailing vowels ('a', 'e', 'i', 'o', 'u') from the end of s and return the result.
Code
1
2
3