--Originally published at My Home
Recursion is mainly used when you have to repeat a procedure several times.
In order to do so, you call a function insde itself… Wuuuuut?
Yep, that’s possible.
And done.
For more information you could use the following Blog (it’s a Ken’s course XD)