Open Monil200 opened 10 years ago
Diameter of a BT is the maximum distance between 2 nodes. So we recursively calculate the distance between every 2 nodes and keep carry forwarding the maximum distance at any point in time. Its a recursive approach.
Diameter of a BT is the maximum distance between 2 nodes. So we recursively calculate the distance between every 2 nodes and keep carry forwarding the maximum distance at any point in time. Its a recursive approach.