Question: Which XXX completes the C + + AVL tree Node class's GetBalance ( ) function? int GetBalance ( ) { int leftHeight = - 1
Which XXX completes the C AVL tree Node class's GetBalance function?
int GetBalance
int leftHeight ;
if left
leftHeight leftheight;
int rightHeight ;
if right
rightHeight rightheight;
return XXX;
Group of answer choices
leftHeight rightHeight
leftHeight rightHeight
maxleftHeight rightHeight
minleftHeight rightHeight
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
