Ask your own question, for FREE!
Computer Science 16 Online
OpenStudy (anonymous):

Can someone explain the balance factor in AVL trees? I understand that left and right subtrees can only differ by -1, 0, and 1 node but h-1 and h-2 seem to escape me.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!