✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
In an AVL tree, node x has balance factor −2 (its right subtree is two levels taller than its left), and its right child has balance factor +1. The balance factor is height(left) − height(right).
How is the balance restored?