There is a very good task in spoj which requires finding the longest path in a tree.
Go here to find the link to the task, the explanation and teh full source code for this task.
Go here to find the link to the task, the explanation and teh full source code for this task.
No comments:
Post a Comment