Skip to content

Commit bc00f16

Browse files
authored
Update 06(Nov) Root to leaf paths sum.md
1 parent 48df499 commit bc00f16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

November 2024 GFG SOLUTION/06(Nov) Root to leaf paths sum.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ The problem can be found at the following link: [Problem Link](https://www.geeks
66

77
Given a binary tree where each node value is a number, find the sum of all the numbers formed from root to leaf paths. The formation of these numbers follows the pattern `10 * parent + current`. The aim is to accumulate the values for each leaf path and return the total sum.
88

9+
910
#### Examples:
1011

1112
**Input:**

0 commit comments

Comments
 (0)