Hackernoon logoPython Tutorial: Recursive Function Debunked by@physboy

Python Tutorial: Recursive Function Debunked

Recursion is one of the most impactful principles in computer science and a BFF for coders and data scientists alike. Recursion can be helpful for solving lots of programming problems such as tree-like data structures. There are quite a few downsides you need to take into account. Recursions must have a boundary or limit, i.e. the instance when the function stops calling itself, since boundaries prevent looping. Recursion isn’t a one size fits all solution, since they have a cost in stack space which leads to much more limited resources.
Nikita Vasilev Hacker Noon profile picture

Nikita Vasilev

Data engineer, python tutor


Join Hacker Noon

Create your free account to unlock your custom reading experience.