Topic: Graph Theory Problem / Level: intermediate

Problem: Write a program to calculate the radius and diameter of a tree.

Run the code to see the output here...