Online Chess Classes | ZugZwang Academy

View Original

Remove the vowels from the string

Given a string, remove the vowels from the string.

Example 1:

Input: S = "welcome to geeksforgeeks"
Output: wlcm t gksfrgks
Explanation: Ignore vowels and print other
characters 

Example 2:

Input: S = "what is your name ?"
Output: what s yr nm ?
Explanation: Ignore vowels and print other
characters 

Solution : Replit

Source : https://algothink.substack.com