Graph TheoryMediumTrees
Trees · Medium problem
A caterpillar-shaped tree has vertices through with cables . Find the sum of all the entries in this tree's Prufer code.
A caterpillar-shaped tree has vertices through with cables . Find the sum of all the entries in this tree's Prufer code.