subträd
Subträd is the Swedish term for subtree, a fundamental concept in rooted trees. The subtree rooted at a node v in a rooted tree T = (V, E) consists of v and every node reachable from v by following child links, together with the edges on those paths. The size of a subtree is the number of nodes it contains, and its height is the maximum distance from v to a leaf within that subtree. A proper subtree of v is any subtree rooted at a descendant of v, excluding v itself.
In practice, trees are stored as rooted structures with parent-child relationships, typically using adjacency lists. Subtree
Subtrees are central in tree dynamic programming, where computations for a node rely on its descendants, and