Topic: Graph Theory Problem / Level: beginner

Problem: Write a program to calculate the diameter of a binary tree using DFS.

Run the code to see the output here...