Any code of your own that you haven't looked at for six or more months might as well have been written by someone else. Eagleson law

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.