|
-
April 29th, 2009, 03:04 PM
#11
Re: binary trees
http://en.wikipedia.org/wiki/Binary_tree
http://en.wikipedia.org/wiki/File:Binary_tree.svg
In that image, the root node passed to treeList() initially would be the one with node->item == 2. Then node->left->item == 7, node->right->item == 5, node->left->right->item == 6, etc.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|