Fall SalePremium questions, over 25% offUnlock all premium questions for over 25% off
[CodeSignal] Vowel Enclosed Reversal
Easy
You are given an array of strings text. For each word that starts and ends with a vowel (case-insensitive: a, e, i, o, u), reverse the substring between its first and last character, keeping the first and last characters in place. Words that do not start and end with a vowel remain unchanged.
A word of length 1 or 2 that starts and ends with a vowel has no middle characters to reverse and is returned unchanged. ...
More Capital One interview questions
- Text Layout Formatterhard
- [CodeSignal] Round-Robin Package Dispatcherhard
- [CodeSignal] Battery Rotation Schedulerhard
- Simplified Inventory Trackermedium
- Reach Corner in Grid With Teleportsmedium
- Even Position Monotonicityeasy
- Array Sum Pairs and Updatesmedium
- Rightmost Longest Character Runeasy
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.