Programming Interview: AVL Tree (Introduction and properties Height, Balance, BST) Part 1

preview_player
Показать описание
This video lecture is produced by S. Saurabh. He is B.Tech from IIT and MS from USA.

After reading this you will know
1. What is AVL Tree
2. Why is AVL Tree needed
3. What is balancing property of AVL Tree
4. Minimum number of nodes in AVL Tree of height h

To prepare for programming Interview Questions on Binary Trees

To study programming Interview questions on Stack, Queues, Arrays visit

To watch all Programming Interview Questions visit

To learn about Pointers in C visit

To learn C programming from IITian S.Saurabh visit
Рекомендации по теме
Комментарии
Автор

For those wondering what the height of a tree is, it is the maximum distance between a leaf and the root of the tree. Therefore, at 5:50, the height of the left sub-tree is 3.

labyrinthChecksIn
Автор

At 3:20 - How is the height of the right skewed BST = 7?

Min no. of nodes in a BST = h + 1. So, height is 6.

HarmeetKaur
Автор

so far so good! really clear and clarifies my confusion about how exactly is either a -1, 0, or 1. all it is is the height of left subtreee minus height of subtreee where the height is the longest path from root. yeppie! some explanations don't make that clear or the way this guy did it is really clear.

rom
Автор

what a lucid explanation...!! Very nice...!!

kumarsahastranshu
Автор

You always make the best videos about data structure on youtube. Thank you very  much

ronicesarrc
Автор

Great intro to AVL trees. Definitely subscribing

Parasin
Автор

hello. sir can you please help me out in this kind of problem in programming:
"Create a running program that will simulate insertion and deletion algorithms of AVL tree and displays the one dimensional array representation of it"

I'm almost done with my program but my problem is I tried looking for code and also tried creating code in displaying the array representation of the tree using its indices... Can you please help me? thank you very much

CathErine-bvsr
Автор

hello sir, How can do count the height of AVL tree, plz explain the height count working

anonymoususer
Автор

Good video. Really poor sound quality, but you get used to it after a while.

MrOndrejHruska
Автор

can u tell me tell me how to determine the height of AVL tree if nodes are given and vice versa?

AshishKumar-pldb
Автор

Can an AVL Tree be a perfect balanced?

kenman