Diameter Of a Binary Tree | Algorithms
Given a binary tree, write an algorithm to find the diameter of the tree. What is the Diameter of tree? Diameter of tree is defined as A longest path or route between any two nodes in a tree. The path may or may not for through the root.
Post to Tumblr