3 ms·
The good news is, a “complete K-ary tree with N nodes” is unambiguous. > One consequence is that the Knuth definition allows leaves at different depths. For ex
by Ferrotin 5y ago
The good news is, a “complete K-ary tree with N nodes” is unambiguous.
> One consequence is that the Knuth definition allows leaves at different depths. For example, a tree with two nodes: one root and a child
But that only has one leaf.