Skip to content

Commit

Permalink
Remove print
Browse files Browse the repository at this point in the history
  • Loading branch information
yangshun committed Feb 25, 2018
1 parent 186d688 commit f439466
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion utilities/python/graph_dfs.py
Expand Up @@ -28,7 +28,6 @@ def graph_dfs_diagonals_and_boundary_wrap(matrix):
def dfs(i, j):
if (i, j) in visited:
return
print(matrix[i][j])
visited.add((i, j))
for direction in directions:
# Change 2: No more boundary, use modulo to allow traversal that exceed boundaries to wrap around.
Expand Down

0 comments on commit f439466

Please sign in to comment.