Topic: Graph Theory Problem / Level: advanced

Problem: Write a program to find the diameter of a tree using two BFS/DFS traversals.

Run the code to see the output here...