Skip to main content

One post tagged with "avl"

View All Tags

· 8 min read
Lam Tran

Intuition

In the previous post, I talked about the binary search tree. With efficiency in search, insert, delete,... binary search tree can be done in logrithmic time (Θ(logn){\Theta(logn)}) in the average case. In this article, I will talk about AVL tree, which is a type of binary search tree, ensuring that in all cases, the time complexity of the above operations is the same Θ(logn){\Theta(logn)}.