Domanda di colloquio di Cognizant

what is recursion and write a code for the same?