Skip to content

Commit 3bbc76b

Browse files
Updated findDepth.py in SAP
1 parent 2b0b712 commit 3bbc76b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SAP Silicon Valley Next Talent Program 2019/findDepth.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ def dfs(root, depth, max_depth):
1212

1313
if root:
1414
for child in root.children:
15-
self.dfs(child, depth + 1, max_depth)
15+
dfs(child, depth + 1, max_depth)

0 commit comments

Comments
 (0)