Tricks of the trade: Recursion to Iteration, Part 3: Recursive Data Structures

from blog Tom Moertel's Blog, | ↗ original
By Tom Moertel Posted on June 3, 2013 Tags: programming, recursion, iteration, python, recursion-to-iteration series, tail calls, data structures This is the third article in a series on converting recursive algorithms into iterative algorithms. If any of what follows seems confusing, you may want to read the earlier articles first. This is an...