Mark the balance factor of each node on the tree given in the below figure and…

PYQ GATE 1988

Mark the balance factor of each node on the tree given in the below figure and state whether it is height-balanced.

Binary tree rooted at 17; left child 12 with children 5 and 15, 5 has left child 1, and 15 has children 14 and 16; right child 20 has children 18 and 24.

Attempted by 2 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…