Slide 14.5: An AVL tree Slide 14.7: A paged binary tree Home |
The AVL tree resulting from the same input keys, arriving in the same sequence, is illustrated on the right. |
The height balancing using AVL methods is with a cost O(log2n) that is acceptable in most applications. Thus, the AVL trees solve the problem of keeping an index in sorted order, but the search problem is not yet solved.