Recursion

Recursion is when we repeat a task 'A'  some number of times to accomplish some task 'B.

Recursion can be classified into different types: