| |
| | TREES (Site not responding. Last check: 2007-10-17) |
 | | A breadth-first tree traversal or graph search always visits both the siblings of a node, or all of its neighbors in a graph, before it visits any of its grandchildren, or neighbor's neighbors in a graph. |
 | | Each node of the tree is visited three times during each of the depth-first traversals, once on its way down the tree, a second time coming up from the left child, and a third time coming up from the right child. |
 | | All binary tree traversals, regardless of the order that they visit the nodes, are linear with respect to the number of number of nodes in the tree. |
| dimacs.rutgers.edu /~rkrane/clecs/trees.htm (603 words) |
|