I was wondering if there is a name for the construct described below:
Given $N$ integers $n_0, ..., n_{N-1}$ we construct a tree of height $N$ levels such that:
- each node of level $0$ (i.e the root) has $n_0$ children.
- each node of level $1$ has $n_1$ children.
- ...
- each node of level $N-1$ has $n_{N-1}$ children
also, this is a sum tree, which means that:
- an integer is associated with each node
- we arbitrarily set the associated integer for each leaf node
- the integer associated with each parent is set to be the sum of the integers associated with its children
Is there a name for that?