Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 347 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 347 Bytes

77.Reverse Vowels of a String

Description

Write a function that takes a string as input and reverse only the vowels of a string.

Example1

Input: 'hello'
Output: 'holle'

Example2

Input: 'leetcode'
Output: 'leotcede'

From

LeetCode