m-Ary Tree

When all internal vertices has ≤m\le m children.

Full m-Ary Tree

When all internal vertices have exactly mm children.

A full mm-ary tree with:

  • nn vertices has i=(n−1)/mi = (n-1)/m internal vertices and l=[(m−1)n+1]/ml = [(m-1)n + 1]/m leaves.
  • ii internal vertices has n=mi+1n = mi + 1 vertices and l=(m−1)i+1l = (m-1)i + 1 leaves.
  • ll leaves has n=(ml−1)/(m−1)n = (ml-1)/(m-1) vertices and i=(l−1)/(m−1)i = (l-1)/(m-1) internal vertices.

There are at most mhm^h leaves in an mm-ary tree of height hh.

Written by October 17, 2026 1 min read
Was this helpful?