Question: ( 1 0 points ) Height - balanced ( AVL ) trees guarantee that the difference in height between subtrees is limited to at most
points Heightbalanced AVL trees guarantee that the difference in height between subtrees is limited to at most one. But how different could the relative sizes of AVL subtrees be Answer this question by considering an AVL tree of height H where the root has left subtree TL of as small a size as possible and right subtree TR of as large a size as possible. Compute formulas in terms of H for the sizes of TL and TR and take the ratio NTRNTL of their sizes. Then take the limit of this ratio as H increases. Is the ratio of sizes limited to a constant, or can it grow arbitrarily large?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
