What is Recursion?
What is Recursion
In Computer Science, recursion is a method in which a function calls itself. We can use recursion to solve many different problems such as:
Towers of Hanoi
Tree Traversals
DFS(Depth First Search) For Graphs
An analogy that bett...
kraljict.hashnode.dev3 min read