Labeled Trees of 10 Vertices Using Prüfer Sequences
Labeled Trees of 10 Vertices Using Prüfer Sequences
A Prüfer code is a unique sequence of integers associated with a labeled tree. The code can be generated by iteratively removing the leaf with the smallest label and setting the next element to be the label of its neighbor.
Enter a Prüfer code of length eight and the corresponding labeled tree of 10 vertices is drawn.