Trees

Steven J. Zeil

August 3, 2013

Course Home   e-mail

Most of the data structures we have looked at so far have been devoted to keeping a collection of elements in some linear order.

1 Tree Terminology
2 Tree Traversal
 2.1 Recursive Traversals
3 Example: Processing Expressions
4 Example: Processing XML
5 Using Trees for Searching
 5.1 How Fast Are Binary Search Trees?

Trees   

Trees are the most common non-linear data structure in computer science.

Trees also turn out to be exceedingly useful in implementing fast searching and insertion.


[Previous]