Recursive Vs Iterative Algorithms

Functionality

♻️ Recursive algorithms🔛 Iteration algorithms
Startreturn from recursive call level belowrestart of loop
EndTermination condition(s) check before processingLoop condition failed
Calculationresult gets calculated on multiple function levelsresult gets calculated on one function level

Pros&Cons

♻️ Recursive algorithms🔛 Iteration algorithms
⚡️ Efficiencyoften 👎, more RAMoften 👍, less RAM
Implementationeasy 👍harder 👎, but depends (support for recursion?)