613. Remove Vowels from a String
Given a string s, eliminate the vowels 'a', 'e', 'i', 'o', and 'u' from it and return the modified string.
Example 1:
Input: s = "programmingisfun"
Output: "prgrmmngsfn"
Example 2:
Input: s = "hello"
Output: "hll"
Now Your Turn!
Pick the correct output for the given inputInput: s = "opensource"
Still unsure what the problem is asking ?
Let’s go through a few more examples, step by step, to make it clearer.
Constraints:
- 1 <= s.length <= 1000
- s contains only lowercase English letters.