From f439466a58968c3af09853291ad7b6ef87fb7f3d Mon Sep 17 00:00:00 2001 From: Yangshun Tay Date: Sat, 24 Feb 2018 17:36:26 -0800 Subject: [PATCH] Remove print --- utilities/python/graph_dfs.py | 1 - 1 file changed, 1 deletion(-) diff --git a/utilities/python/graph_dfs.py b/utilities/python/graph_dfs.py index 412ff7d4..b0cf2dbf 100644 --- a/utilities/python/graph_dfs.py +++ b/utilities/python/graph_dfs.py @@ -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.