Find root such thatdistance (root, v1) =distance(root, v2) then degree(v1) =degree(v2),
Answers
Answered by
0
Answer:
Given root of a binary tree and a key x in it, find distance of the given key from root. Distance means number of edges...........................
Similar questions
Science,
5 months ago
Math,
5 months ago
Math,
10 months ago
Biology,
1 year ago
Social Sciences,
1 year ago