Otherwise cursor becomes null. Returns height of node in tree. Height is the maximum number of edges between current node and any descendant. Height of node in tree. Returns depth of node in tree.
Depth is the number of edges traversed in unique path to root.
Depth of cursor node in tree. A tree is full if adding a node to the tree would increase its height. True iff adding a node to subtree requires increasing height. Detect a complete tree rooted at cursor. True iff tree is complete.