preorder traversal

Trees it turns out are a lot harder than lists. For the first time I was clueless on a way forward without looking for a hint in the book. The problem is to just do a simple preorder traversal of a tree and print out every node. Recursively this is…

Read full post