Glossary: Data Structures and Algorithms in Java
recursion
Also written: recursive
A method solving a problem by calling itself on a smaller piece of the same problem, with a base case that stops it.
Glossary: Data Structures and Algorithms in Java
Also written: recursive
A method solving a problem by calling itself on a smaller piece of the same problem, with a base case that stops it.