



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




17 - 1
PS4 due 1:30pm Tuesday, April 10 Wellesley College CS Lecture 17 Thursday, April 5 Handout # 17 - 2
Up to this point our focus has been linear structures: arrays, vectors, linked lists Some operations on linear structures are cheap:
17 - 3
Values are often shown in the nodes Often, the leaves are not shown, but they’re still there!
17 - 7 Binary Search Trees E F G
17 - 8 General Trees In general, trees can have any number of nodes Trees are used for many purposes:
17 - 9 Arithmetic Expressions as Trees
a b
a c
b a b