Software suppliers are trying to make their software packages more ‘user-friendly’… Their best approach so far has been to take all the old brochures and stamp the words ‘user-friendly’ on the cover. Bill Gates

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.