JMU
Data Structures for Trees
An Introduction


Prof. David Bernstein
James Madison University

Computer Science Department
bernstdh@jmu.edu


Background
N-ary Trees
Binary Trees

An Example

images/binary_tree.gif
Common Data Structures
Contiguous Structures for N-ary Trees
Contiguous Structures for N-ary Trees (cont.)
Linked Structures for Trees