May 2017
Intermediate to advanced
340 pages
8h 16m
English
When a recursive function call has itself as the parameter, then it is called nested recursion. One of the common examples of nested recursion is the Ackermann function. Look at the following equation:

If we look at the last line, we can see that function A () is called recursively, but the second parameter itself is another recursive call. So, this is one of the examples of nested recursions.
Though there are different types of recursions available, we will only use those that are required based on our needs. Now, we will see some real-life usage of recursion in our projects.
Read now
Unlock full access