How we are computing height in this without using any function related to height?
How we are computing height in this without using any function related to height?
how left.height will give us the value of height
and one more thing can we
and one more thing can we implement this by counting the no. of nodes on left and right and return their difference?