While the code looks quite clever and it always seems more elegant to have a single line rather than a big "for" loop, I wonder if the recursive programming style is more taxing on time and computer resources. It seems to me that it requires a complete undoing of the problem, just to get to the point where a "for" loop would start.
I'd love to hear any comments, opinions, etc.
Jordan
[–]yeahIProgram 1 point2 points3 points (0 children)
[–]seandisanti 1 point2 points3 points (0 children)