Skip to content

Commit aaf4ec3

Browse files
author
Joseph Luce
authored
Update 112_path_sum.md
1 parent 745a0e5 commit aaf4ec3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

leetcode/easy/112_path_sum.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Solution:
3333
- N = Number of nodes in tree
3434

3535
Similar to the recursive solution, but we need to store an additional current sum with the node in the stack.
36-
Since we will never need to go back up the tree once we have traverse down, there is no need to implement a global sum.
36+
Since we will never need to go back up the tree or revisit any nodes once we have traverse down, there is no need to implement a global sum.
3737

3838
```
3939
class Solution:

0 commit comments

Comments
 (0)