Topic: Graph Theory Problem / Level: beginner

Problem: Write a program to find the longest path between any two vertices in a tree.

Run the code to see the output here...