Pergunta de entrevista da empresa Wipro

they asked me to write a code for reversing a string using recursion