<aside> đź’ˇ Method defined in terms of itself
</aside>
It’s a (in)equation that describes a function based on itself, considering smaller inputs.
The height is the longest path from the root to the top.
<aside> đź’ˇ n - 1
</aside>
The method must have a base case or a “stopping point” that tells it when it should stop calling itself. Otherwise, it’s going to go into an infinite loop.
It usually works by calling itself adding or subtracting X from a counter until it reaches the base case.