6. Depth of a node
• The length of the path from the root to the
node.
• Depth(root)=0
7. Height of the tree
• The height of a node is the length of the
longest downward path between the node
and a leaf + 1.
• The height of a node is the length of the
longest downward path between the root and
a leaf +1.
10. Complete Binary Tree
• A complete binary tree is a binary tree in
which every level, except possibly the last, is
completely filled, and all nodes are as far left
as possible.
11. • A fully complete binary tree has n nodes what
is the height of the tree?
12. • A fully complete binary tree has n nodes what
are the number of leaves in the tree?