m-ary Tree

1 min read Last updated Sun May 31 2026 19:40:41 GMT+0000 (Coordinated Universal Time)

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=(n1)/mi = (n-1)/m internal vertices and l=[(m1)n+1]/ml = [(m-1)n + 1]/m leaves.
  • ii internal vertices has n=mi+1n = mi + 1 vertices and l=(m1)i+1l = (m-1)i + 1 leaves.
  • ll leaves has n=(ml1)/(m1)n = (ml-1)/(m-1) vertices and i=(l1)/(m1)i = (l-1)/(m-1) internal vertices.

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

Was this helpful?