Smallest Missing Genetic Value in Each Subtree
For each node of a tree, find the smallest positive genetic value missing from its subtree. The visual walks the path to the node holding value 1 and marks which values are present.
For each node of a tree, find the smallest positive genetic value missing from its subtree. The visual walks the path to the node holding value 1 and marks which values are present.