Prüferliste
A Prüferliste, also known as a Prüfer sequence or Prüfer code, is a unique sequence of numbers associated with a labeled tree. Specifically, it is a sequence of length n-2, where n is the number of vertices in the tree, and each vertex is labeled with an integer from 1 to n. The Prüfer sequence is generated using a specific algorithm that iteratively removes the leaf node with the smallest label.
The algorithm for constructing a Prüfer sequence for a given labeled tree proceeds as follows: find the
Conversely, a Prüfer sequence can be used to uniquely reconstruct the labeled tree from which it was
Prüfer sequences have applications in various areas of graph theory and combinatorics, particularly in problems related