top | item 2102528

A Simple Way To Think About Recursion

6 points| pprov | 15 years ago |tenaciousc.com | reply

3 comments

order
[+] StanDarsh|15 years ago|reply
I could have used this when I was first introduced to recursion.

"Recursion doesn’t know it’s recursion. Recursion doesn’t know it’s complicated"....awesome.

[+] rhizome|15 years ago|reply
you lost me about three paragraphs in. if "simple" relies on dropping terms like "preorder traversal" without elaboration, it ain't simple. i could tell it was probably funny, though!
[+] motxilo|15 years ago|reply
Yes, that was a good point where preorder, inorder and postorder might have been introduced briefly. I liked big time this explanation as to how to mechanize your thoughts when keeping track of a recursive process.
[+] si2|15 years ago|reply

[deleted]