An empty tree is height balanced. If T is a non-empty binary tree with TL and TR as its left and right subtrees, then T is height balanced if

  1. TL and TR are height balanced and
  2. │hL - hR│≤ 1

Where hL and hR are the heights of TL and TR respectively.

0
Sanisha Maharjan
Jan 23, 2022
More related questions

Questions Bank

View all Questions