You've been asked by your manager to build a new algorithm to reverse vowels in any proposed String. How would you build such a model, assuming you aren't allowed to use any native String reverse() functions in your code?
e.g. Hello = Holle e.g. BinarySearch = BanerySairch
Hints
When preparing for a technical interview, it’s common to practice code challenges on String manipulation, including being able to reverse sequences. This challenge presents a twist by reversing specific values. How will you track the position of vowels as you iterate through the model? Also, how will you reverse the series of vowels without using native Swift library functions?