Capgemini interview question

Reverse a string using recursion