The distance betweeen two nodes on the stem
Answers
Answered by
0
Distance between two nodes is defined as the number of edges in shortest path from one node from other. For example, consider below binary tree. The distance between node 7 and node 6 is 3. This problem is a standard application of lowest common ancestor of given nodes.
Explanation:
I hope it will be help you ❤️❤️❤️
tpsonia07:
Not much helpful
Answered by
0
Answer:there are so many no. of small paths
Explanation:
Similar questions