Finding Diameter of a Tree using DFS


This is a companion discussion topic for the original entry at http://iq.opengenus.org/diameter-of-tree-using-dfs/