#HackerEarth
#Solution
#Java
#Binary Tree Solution Diameter of a binary tree is maximum of diameter of current node, its left and right child.
#HackerEarth
#Solution
#Java
#Binary Tree Solution Parse input and build the tree by maintaining an index HashMap.