3.3, due October 3

Difficult:
The hardest part of the section was definitely the proof of Theorem 3.3.10, about the minimal number of nodes in an AVL tree. That proof took some thinking through.

Reflective:
One question I had while I was reading was, when you re-balance an AVL tree, do you have a maximum of two rotations? I understood by the end of the section that you do not -- that is the worst case for one set of three nodes, but that can result in an imbalanced tree that cascades all the way up.

Comments

Popular posts from this blog

8.7, due December 6

8.5, due Dec 3

8.6, due Dec 5