heights are the same
if height of tree left = height of tree right, then height of tree (node (v, left, right)) = (height of tree left) + 1
Comments
Please log in to add comments
if height of tree left = height of tree right, then height of tree (node (v, left, right)) = (height of tree left) + 1
Please log in to add comments