Properties of K-ary Trees
- For a k-ary tree with height h, the upper bound for the maximum number of leaves is .
- The total number of nodes is, while the height h is
Note : Formula applicable only for number_of_nodes = number of nodes in *complete* k-ary tree
Read more about this topic: K-ary Tree
Famous quotes containing the words properties of, properties and/or trees:
“The reason why men enter into society, is the preservation of their property; and the end why they choose and authorize a legislative, is, that there may be laws made, and rules set, as guards and fences to the properties of all the members of the society: to limit the power, and moderate the dominion, of every part and member of the society.”
—John Locke (16321704)
“The reason why men enter into society, is the preservation of their property; and the end why they choose and authorize a legislative, is, that there may be laws made, and rules set, as guards and fences to the properties of all the members of the society: to limit the power, and moderate the dominion, of every part and member of the society.”
—John Locke (16321704)
“Usually the scenery about them is drear and savage enough; and the loggers camp is as completely in the woods as a fungus at the foot of a pine in a swamp; no outlook but to the sky overhead; no more clearing than is made by cutting down the trees of which it is built, and those which are necessary for fuel.”
—Henry David Thoreau (18171862)