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?)