Common terminologyCLRSDiagram
Full Binary TreecBt|110
Complete Binary TreeNearly Complete Binary TreecBt|110
Perfect Binary TreeComplete Binary TreepBt|110

Common terminology will be used below

Notation: n nodes, l leaves, h height, n_{k} nodes at depth k,

  • The height (depth) of a node is the number of edges on the longest simple downward path from the root to the node.

  • The height of a tree is the number of edges on the longest simple downward path from the root to a leaf.

Complete Binary Tree

    • (where )

Perfect Binary Tree