Computer Science, asked by Anonymous, 4 months ago

Sum of nodes in the path from root to N-th node in given Tree​

Attachments:

Answers

Answered by cutiepieangel123
20

Answer:

The traversal from root 1 to node 13 is

1 -> 2 -> 4 -> 13. ...

Therefore, sum of all nodes in the path

= 1 + 2 + 4 + 13 = 20.

hope it helps......

Answered by vanshitagoyal1210
1

Explanation:

mark me as brainlaist answer

Similar questions