height of leaf

if the element at index i of stack tree = node (v, (-1), (-1)), then Height of a tree tree and index i = 1

Comments

Please log in to add comments