What is Tail Recursion ?
We all have used Recursion few to many times in our programming journey. Recursion is an approach/strategy of solving a problem such that the solution depends on the smaller/reduced version of the same problem. Let us consider calculating the Factorial of a number. Factorial Output : The above piece of code uses 2 approaches to … Read moreWhat is Tail Recursion ?