This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Compute the balance factor of a node as the difference between left and right subtree heights.
You've completed the free preview. Subscribe to unlock every lesson in every course.