20(March) Sum of nodes on the longest path from root to leaf node
20. Sum of the Longest Root to Leaf Path
Problem Description
4
/ \
2 5
/ \ / \
7 1 2 3
/
613 4
/ \
2 5
/ \ / \
7 1 2 3
/
6My Approach
Time and Auxiliary Space Complexity
Code (C++)
Contribution and Support
📍Visitor Count
Last updated