Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 40121

Small tree problem

$
0
0

In a weighted tree, how to find for each node the other node farthest from it (in linear time)?

Thanks


Viewing all articles
Browse latest Browse all 40121

Trending Articles