Welcome to ECE 250 Algorithms and Data Structures

Will illustrate tree concepts using actual phylogenetic data. Most ADTs in Java can provide an iterator object, used to traverse all the data in any linear ADT. For simplicity, we consider tree having at most 2 children, though it can be generalized. Start from root. Print the node. Push right child onto to stack. Push left child onto to stack.

Read More