Algorithm: Recursion
What’s recursion?
A function calls itself and runs again. An easy example below:
func rc() {
rc()
}
Every recursive function needs to have a base case or a stopping point. If the stop case doesn’t exist, the recursive function will keep running ...
adrienetz.hashnode.dev5 min read