Domanda di colloquio di Capgemini Engineering

they asked me to write a program to reverse a string using recursion