AVL trees
Hi guys,an unbalanced AVL tree is a simple binary search tree?Thanks,in advance!
[108 byte] By [
g_p_javaa] at [2007-10-2 9:42:37]

AVL trees are always balanced because they guarantee O(logn) retrieval.A balanced binary search tree will also be O(logn) retrieval. Thus, you could state that as long as a binary search tree is balanced it will have the same performance as an AVL tree.