README ¶ < Previous Next > 345. Reverse Vowels of a String (Easy) Write a function that takes a string as input and reverse only the vowels of a string. Example 1: Input: "hello" Output: "holle" Example 2: Input: "leetcode" Output: "leotcede" Note: The vowels does not include the letter "y". Related Topics [Two Pointers] [String] Similar Questions Reverse String (Easy) Remove Vowels from a String (Easy) Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files reverse_vowels_of_a_string.go Click to show internal directories. Click to hide internal directories.