From recursion to iteration
how to go from recursion to iteration
Tags: scala, recursion, algorithms