The balance factor for an AVL tree is either
A. 0,1 or -1
B. -2,-1 or 0
C. 0,1 or 2
D. All the above
Answer:A
The balance factor for an AVL tree is either
A. 0,1 or -1 B. -2,-1 or 0 C. 0,1 or 2 D. All the above