Skip to content

Commit e0ffc46

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 0209318 commit e0ffc46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

matrix/count_paths.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def dfs(grid: "list[list[int]]", row: int, col: int, visit: set) -> int:
2424
"""
2525
Recursive Backtracking Depth First Search Algorithm
2626
27-
Starting from top left of a matrix, count the number of
27+
Starting from top left of a matrix, count the number of
2828
paths that can reach the bottom right of a matrix.
2929
1 represents a block (inaccessible)
3030
0 represents a valid space (accessible)

0 commit comments

Comments
 (0)