String - 16: Reverse Vowels order in Given String | Java Implementation

Source Code:https://thecodingsimplified.com/rever... Solution: Using swapping We take two variable start = 0 & end = n - 1 We iterate element from 'start' until we find a vowel, similarly we iterate from 'end' until we find a vowel Now we swap the value We do this until start is less than end Time Complexity: O(n), where n is number of characters in String Space Complexity: O(1) For more info, please see the video. CHECK OUT CODING SIMPLIFIED    / codingsimplified   ★☆★ VIEW THE BLOG POST: ★☆★ http://thecodingsimplified.com I started my YouTube channel, Coding Simplified, during Dec of 2015. Since then, I've published over 500+ videos. ★☆★ SUBSCRIBE TO ME ON YOUTUBE: ★☆★ https://www.youtube.com/codingsimplif... ★☆★ Send us mail at: ★☆★ Email: [email protected]