This paper contains four algorithms involving shortest paths in trees: they determine:
The expected time complexities for a tree T with M vertices, for each of these algorithms is indicated above. Algorithm A first appeared in [8] but is included here for completeness, the remaining three algorithms are new.