Skip to content

Commit a24b3ab

Browse files
authored
fix(tutorial): typo in breadth-first-search.md (#719)
typo of variable name corrected
1 parent 4073590 commit a24b3ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/graph-theory/breadth-first-search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def findTargetNode(root, targetValue):
3333
currentLevel = [root]
3434

3535
#we increase our depth one by one as long as there is still node
36-
while(len(level) > 0):
36+
while(len(currentLevel) > 0):
3737

3838
#we store the current level node's children in nextLevel
3939
nextLevel = []

0 commit comments

Comments
 (0)