Envestnet Interview Question

To reverse a string using recursion function