solulubeta
Sign in
DSA Basics / Building up
02.33 · Problem

Swap Only the Vowels

Medium Two pointers with skipping Pro

This problem is part of solulu Pro

A word game scrambles a word in a very particular way: the vowels change places among themselves (the first vowel swaps with the last, and so on) while every consonant stays exactly where it is.

Lifetime ₹2,000 ₹1,000 · Beta offer
Mark this problem as solved when you are finished.

Item 63 of 90 · updated 2026-10-12