Which is Better?
It Depends!
- Recursion
- It can be a very elegant and efficient solution
- It can also consume your CPU, STACK and memory and cry out for more
- Iteration
- Can be a bear to program if the conditions of controlling the loop are not crystal clear