Meta Interview Question

Reverse a part of the string