Back to QuestionsPractice with This Question
Reverse Vowels of a String
91K views•Asked at Stripe•
Easy
Question Explain
Given a string `s`, reverse only all the vowels in the string and return it. The vowels are 'a', 'e', 'i', 'o', and 'u'. Use the Two-Pointer technique.
Start Trying This Question Simulation
Practice answering orally or with text to get instant AI feedback.