Recursion

Recursion (from the Latin recursus — “return”) is a method in which a function calls itself in order to solve a problem until a base condition is reached.