Suppose we have built a (balanced) AVL tree by inserting the keys 12, 7, 9, 17, 14 in this order. Suppose we insert anot
Posted: Mon Jun 06, 2022 5:34 pm
Suppose we have built a (balanced) AVL tree by inserting the keys 12, 7, 9, 17, 14 in this order. Suppose we insert another key 16 into the tree, answer the following questions. Note: for all answers, please use no spaces, and for Answer 3, please use R or L or LR or RL. The imbalanced node to be repaired in the tree contains key The balance factor of this key is The required rotation is the rotation.