SP1437 PT07Z - Longest path in a tree

Description

You are given an unweighted, undirected tree. Write a program to output the length of the longest path (from one node to another) in that tree. The length of a path in this case is number of edges we traverse from source to destination.

Input Format

N/A

Output Format

N/A