en/chapter_tree/avl_tree/ #1389
Replies: 1 comment
-
for anyone trying to figure out rather the tree is balanced or not and how to mark the values: for marking all the AVL values I like to start at the very end again. using Figure 7-24, as an example: another example: please note it is the max height of that specific node LHS and RHS. that's why it is 3-1 for root node. (if anyone is wondering). hope this helps. |
Beta Was this translation helpful? Give feedback.
-
en/chapter_tree/avl_tree/
Data Structures and Algorithms Crash Course with Animated Illustrations and Off-the-Shelf Code
https://www.hello-algo.com/en/chapter_tree/avl_tree/
Beta Was this translation helpful? Give feedback.
All reactions