Topic: Graph Theory Problem / Level: intermediate

Problem: Write a program to find the diameter of a tree using BFS or DFS.

Run the code to see the output here...