Chapters: 4, 5, 6
More on AVL:
- Be familiar with how to calculate balance factor (height of left subtree - height of right subtree; -1 if empty)
- Know all four AVL tree rotations! Professor stresses that you split the double rotations into two single rotations if you aren’t confident.
More on 2-3:
- Know how to construct!
More on Heap and Heapsort:
- Know the definition. Key at each node is >= its children (thus, root is max)
- Can construct bottom-up or top-down.
- Know how to heapsort!