Unrooted tree path lengths

From Wikipedia, the free encyclopedia


In computer science, the problem of unrooted tree path lengths is that of finding the number of paths of each length in a tree.

It is known that no algorithm can solve it in less than O(n2) asymptotic time.[citation needed]