Monday, July 30, 2007

Binary Tree Traversals

long time no post... Likely not an interview question, but it's a good exercise.

write a pre-order, in-order and post-order traversal of a binary tree.

No comments: