Capgemini Interview Question

Reverse a string using recursion and iteration