Use of recursion for repetitive algorithms

--Originally published at Welcome to the Heaven

Sometimes we will need a program that give us a specific result and normally we want to write a code that makes that posible, but we finish with a large code that is hard to understand and maybe can’t run, so for this reason we need use the recursion for repetitive algorithms. This makes that the program use the a function into a function and can run a million of times, if is necessary.

Okay the most classical example of the recursion is this…screen-shot-2016-10-28-at-10-02-01-pmThis is the real power of the recursion.