Data Structures in Java: Session 7 Instructor: Bert Huang
Data Structures in Java: Session 7 Instructor: Bert Huang
Java
Session 7
Instructor: Bert Huang
http://www1.cs.columbia.edu/~bert/courses/3134
Announcements
Review of scope
Stack applications examples
Stack implementation (easy)
Queue ADT definition and
implementation
Todays Plan
A path is a sequence of
nodes such that the next
node in the sequence is a
child of the previous
More Tree
Terminology
a nodes depth is the
length of the path from
root