Skip to content

Commit 9ab2677

Browse files
authored
Update path-sum-iv.py
1 parent 9404cc3 commit 9ab2677

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/path-sum-iv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Time: O(n)
2-
# Space: O(w), w is the max node count of the level in the tree
2+
# Space: O(p), p is the number of paths
33

44
class Solution(object):
55
def pathSum(self, nums):

0 commit comments

Comments
 (0)