Recursion

Return to Glossary

*Recursion is the process in which a function calls itself directly or indirectly is called recursion and the corresponding function is called as recursive function. Using recursive algorithm, certain problems can be solved quite easily. Examples of such problems are Towers of Hanoi (TOH), Inorder/Preorder/Postorder Tree Traversals, DFS of Graph, etc. Source: https://www.geeksforgeeks.org/recursion/ ~~DISCUSSION:on|Outstanding Issues~~ ~~DISCUSSION:off~~