3,045 views
0 0 votes
I know advantages of btree. But after reading that I want to ask in what aspect Avl trees are useful over b tree? Give some example please.

1 Answer

0 0 votes

An AVL tree is a self-balancing binary search tree, balanced to maintain O(log n) height.

A B-tree is a balanced tree, but it is not a binary tree. Nodes have more children, which increases per-node search time but decreases the number of nodes the search needs to visit. This makes them good for disk-based trees. For more details, see the Wikipedia article.

Position:
Show:

No related questions found