You canít have great software without a great team, and most software teams behave like dysfunctional families. Jim McCarthy

Distance between two nodes

Language Java | Level Intermediate | Category Data structure | September 8, 2015 8:29 am


Data structure Description

Write a program to find the Distance between two nodes in the binary tree.


Output

   					 

All Binary Tree Values: 1 2 3 4  
Distance between two nodes: 4

				    

Comments


No comments available!

Please login to add comments.