You are given a string
sthat consists of lowercase English letters.Return the string obtained by removing all trailing vowels from
s.The vowels consist of the characters
'a','e','i','o', and'u'.
1 | class Solution { |
You are given a string
sthat consists of lowercase English letters.Return the string obtained by removing all trailing vowels from
s.The vowels consist of the characters
'a','e','i','o', and'u'.
1 | class Solution { |